diff --git a/charts/postgres-operator/templates/customrresourcedefinition.yaml b/charts/postgres-operator/templates/customrresourcedefinition.yaml new file mode 100644 index 000000000..327ed3168 --- /dev/null +++ b/charts/postgres-operator/templates/customrresourcedefinition.yaml @@ -0,0 +1,39 @@ +apiVersion: apiextensions.k8s.io/v1beta1 +kind: CustomResourceDefinition +metadata: + name: postgresqls.acid.zalan.do + annotations: + "helm.sh/hook": crd-install +spec: + group: acid.zalan.do + names: + kind: postgresql + listKind: postgresqlList + plural: postgresqls + singular: postgresql + shortNames: + - pg + scope: Namespaced + subresources: + status: {} + version: v1 +--- +apiVersion: apiextensions.k8s.io/v1beta1 +kind: CustomResourceDefinition +metadata: + name: operatorconfigurations.acid.zalan.do + annotations: + "helm.sh/hook": crd-install +spec: + group: acid.zalan.do + names: + kind: OperatorConfiguration + listKind: OperatorConfigurationList + plural: operatorconfigurations + singular: operatorconfiguration + shortNames: + - pgc + scope: Namespaced + subresources: + status: {} + version: v1 diff --git a/charts/postgres-operator/templates/operator-configuration.yaml b/charts/postgres-operator/templates/operatorconfiguration.yaml similarity index 100% rename from charts/postgres-operator/templates/operator-configuration.yaml rename to charts/postgres-operator/templates/operatorconfiguration.yaml