Add stackgres chart

This commit is contained in:
2024-05-30 20:42:52 +08:00
parent 1026f0ea9b
commit db34ed82a3
49 changed files with 21734 additions and 0 deletions
@@ -0,0 +1,12 @@
{{ if and .Release.IsInstall .Values.deploy.operator }}
{{ $deployments := lookup "apps/v1" "Deployment" "" "" }}
{{ range $deployments.items }}
{{ if .metadata.labels }}
{{ if .metadata.labels.group }}
{{ if eq .metadata.labels.group "stackgres.io" }}
{{ fail (print "StackGres Operator Helm Chart can only install one operator instance. Multiple operator instances is not supported.") }}
{{ end }}
{{ end }}
{{ end }}
{{ end }}
{{ end }}