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
1 change: 1 addition & 0 deletions charts/cloudnative-pg/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ CloudNativePG Operator Helm Chart
| config.secret | bool | `false` | Specifies whether it should be stored in a secret, instead of a configmap. |
| containerSecurityContext | object | `{"allowPrivilegeEscalation":false,"capabilities":{"drop":["ALL"]},"readOnlyRootFilesystem":true,"runAsGroup":10001,"runAsUser":10001,"seccompProfile":{"type":"RuntimeDefault"}}` | Container Security Context. |
| crds.create | bool | `true` | Specifies whether the CRDs should be created when installing the chart. |
| crds.annotations | dict | `{}` | Annotations to pass to the CRDs created. Useful e.g. for ArgoCD ServerSideApply |
| dnsPolicy | string | `""` | |
| fullnameOverride | string | `""` | |
| hostNetwork | bool | `false` | |
Expand Down
30 changes: 30 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,9 @@ metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.18.0
helm.sh/resource-policy: keep
{{- with .Values.crds.annotations }}
{{- toYaml . | nindent 4 }}
{{- end }}
name: backups.postgresql.cnpg.io
spec:
group: postgresql.cnpg.io
Expand Down Expand Up @@ -451,6 +454,9 @@ metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.18.0
helm.sh/resource-policy: keep
{{- with .Values.crds.annotations }}
{{- toYaml . | nindent 4 }}
{{- end }}
name: clusterimagecatalogs.postgresql.cnpg.io
spec:
group: postgresql.cnpg.io
Expand Down Expand Up @@ -533,6 +539,9 @@ metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.18.0
helm.sh/resource-policy: keep
{{- with .Values.crds.annotations }}
{{- toYaml . | nindent 4 }}
{{- end }}
name: clusters.postgresql.cnpg.io
spec:
group: postgresql.cnpg.io
Expand Down Expand Up @@ -7104,6 +7113,9 @@ metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.18.0
helm.sh/resource-policy: keep
{{- with .Values.crds.annotations }}
{{- toYaml . | nindent 4 }}
{{- end }}
name: databases.postgresql.cnpg.io
spec:
group: postgresql.cnpg.io
Expand Down Expand Up @@ -7477,6 +7489,9 @@ metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.18.0
helm.sh/resource-policy: keep
{{- with .Values.crds.annotations }}
{{- toYaml . | nindent 4 }}
{{- end }}
name: failoverquorums.postgresql.cnpg.io
spec:
group: postgresql.cnpg.io
Expand Down Expand Up @@ -7555,6 +7570,9 @@ metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.18.0
helm.sh/resource-policy: keep
{{- with .Values.crds.annotations }}
{{- toYaml . | nindent 4 }}
{{- end }}
name: imagecatalogs.postgresql.cnpg.io
spec:
group: postgresql.cnpg.io
Expand Down Expand Up @@ -7636,6 +7654,9 @@ metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.18.0
helm.sh/resource-policy: keep
{{- with .Values.crds.annotations }}
{{- toYaml . | nindent 4 }}
{{- end }}
name: poolers.postgresql.cnpg.io
spec:
group: postgresql.cnpg.io
Expand Down Expand Up @@ -16503,6 +16524,9 @@ metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.18.0
helm.sh/resource-policy: keep
{{- with .Values.crds.annotations }}
{{- toYaml . | nindent 4 }}
{{- end }}
name: publications.postgresql.cnpg.io
spec:
group: postgresql.cnpg.io
Expand Down Expand Up @@ -16699,6 +16723,9 @@ metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.18.0
helm.sh/resource-policy: keep
{{- with .Values.crds.annotations }}
{{- toYaml . | nindent 4 }}
{{- end }}
name: scheduledbackups.postgresql.cnpg.io
spec:
group: postgresql.cnpg.io
Expand Down Expand Up @@ -16891,6 +16918,9 @@ metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.18.0
helm.sh/resource-policy: keep
{{- with .Values.crds.annotations }}
{{- toYaml . | nindent 4 }}
{{- end }}
name: subscriptions.postgresql.cnpg.io
spec:
group: postgresql.cnpg.io
Expand Down
3 changes: 2 additions & 1 deletion charts/cloudnative-pg/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,8 @@ updateStrategy: {}
crds:
# -- Specifies whether the CRDs should be created when installing the chart.
create: true

# -- Annotations to pass to the CRDs created. Useful e.g. for ArgoCD ServerSideApply
annotations: {}
# -- The webhook configuration.
webhook:
port: 9443
Expand Down