Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
70 changes: 70 additions & 0 deletions charts/cloudnative-pg/templates/crds/crds.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,13 @@ metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.20.0
helm.sh/resource-policy: keep
{{- with .Values.crds.annotations }}
{{- toYaml . | nindent 4 }}
{{- end }}
{{- with .Values.crds.labels }}
labels:
{{- toYaml . | nindent 4 }}
{{- end }}
name: backups.postgresql.cnpg.io
spec:
group: postgresql.cnpg.io
Expand Down Expand Up @@ -468,6 +475,13 @@ metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.20.0
helm.sh/resource-policy: keep
{{- with .Values.crds.annotations }}
{{- toYaml . | nindent 4 }}
{{- end }}
{{- with .Values.crds.labels }}
labels:
{{- toYaml . | nindent 4 }}
{{- end }}
name: clusterimagecatalogs.postgresql.cnpg.io
spec:
group: postgresql.cnpg.io
Expand Down Expand Up @@ -550,6 +564,13 @@ metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.20.0
helm.sh/resource-policy: keep
{{- with .Values.crds.annotations }}
{{- toYaml . | nindent 4 }}
{{- end }}
{{- with .Values.crds.labels }}
labels:
{{- toYaml . | nindent 4 }}
{{- end }}
name: clusters.postgresql.cnpg.io
spec:
group: postgresql.cnpg.io
Expand Down Expand Up @@ -7789,6 +7810,13 @@ metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.20.0
helm.sh/resource-policy: keep
{{- with .Values.crds.annotations }}
{{- toYaml . | nindent 4 }}
{{- end }}
{{- with .Values.crds.labels }}
labels:
{{- toYaml . | nindent 4 }}
{{- end }}
name: databases.postgresql.cnpg.io
spec:
group: postgresql.cnpg.io
Expand Down Expand Up @@ -8384,6 +8412,13 @@ metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.20.0
helm.sh/resource-policy: keep
{{- with .Values.crds.annotations }}
{{- toYaml . | nindent 4 }}
{{- end }}
{{- with .Values.crds.labels }}
labels:
{{- toYaml . | nindent 4 }}
{{- end }}
name: failoverquorums.postgresql.cnpg.io
spec:
group: postgresql.cnpg.io
Expand Down Expand Up @@ -8462,6 +8497,13 @@ metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.20.0
helm.sh/resource-policy: keep
{{- with .Values.crds.annotations }}
{{- toYaml . | nindent 4 }}
{{- end }}
{{- with .Values.crds.labels }}
labels:
{{- toYaml . | nindent 4 }}
{{- end }}
name: imagecatalogs.postgresql.cnpg.io
spec:
group: postgresql.cnpg.io
Expand Down Expand Up @@ -8543,6 +8585,13 @@ metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.20.0
helm.sh/resource-policy: keep
{{- with .Values.crds.annotations }}
{{- toYaml . | nindent 4 }}
{{- end }}
{{- with .Values.crds.labels }}
labels:
{{- toYaml . | nindent 4 }}
{{- end }}
name: poolers.postgresql.cnpg.io
spec:
group: postgresql.cnpg.io
Expand Down Expand Up @@ -17912,6 +17961,13 @@ metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.20.0
helm.sh/resource-policy: keep
{{- with .Values.crds.annotations }}
{{- toYaml . | nindent 4 }}
{{- end }}
{{- with .Values.crds.labels }}
labels:
{{- toYaml . | nindent 4 }}
{{- end }}
name: publications.postgresql.cnpg.io
spec:
group: postgresql.cnpg.io
Expand Down Expand Up @@ -18108,6 +18164,13 @@ metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.20.0
helm.sh/resource-policy: keep
{{- with .Values.crds.annotations }}
{{- toYaml . | nindent 4 }}
{{- end }}
{{- with .Values.crds.labels }}
labels:
{{- toYaml . | nindent 4 }}
{{- end }}
name: scheduledbackups.postgresql.cnpg.io
spec:
group: postgresql.cnpg.io
Expand Down Expand Up @@ -18300,6 +18363,13 @@ metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.20.0
helm.sh/resource-policy: keep
{{- with .Values.crds.annotations }}
{{- toYaml . | nindent 4 }}
{{- end }}
{{- with .Values.crds.labels }}
labels:
{{- toYaml . | nindent 4 }}
{{- end }}
name: subscriptions.postgresql.cnpg.io
spec:
group: postgresql.cnpg.io
Expand Down
6 changes: 6 additions & 0 deletions charts/cloudnative-pg/values.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,12 @@
"properties": {
"create": {
"type": "boolean"
},
"labels": {
"type": "object"
},
"annotations": {
"type": "object"
}
}
},
Expand Down
8 changes: 8 additions & 0 deletions charts/cloudnative-pg/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,12 @@ updateStrategy: {}
crds:
# -- Specifies whether the CRDs should be created when installing the chart.
create: true
# -- Labels to be added to the CRDs.
labels: {}
# -- Annotations to be added to the CRDs.
# Useful for ArgoCD to enable server-side apply for CRDs managed by ArgoCD.
annotations: {}
# argocd.argoproj.io/sync-options: ServerSideApply=true

# -- The webhook configuration.
webhook:
Expand Down Expand Up @@ -200,7 +206,9 @@ monitoring:
# -- Labels that ConfigMaps should have to get configured in Grafana.
labels: {}
# -- Annotations that ConfigMaps can have to get configured in Grafana.
# Useful for ArgoCD server-side apply
annotations: {}
# argocd.argoproj.io/sync-options: ServerSideApply=true

# Default monitoring queries
monitoringQueriesConfigMap:
Expand Down