Add stackgres chart
This commit is contained in:
@@ -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 }}
|
||||
Reference in New Issue
Block a user