You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
we should be able to override the behavior of the creation of the cluster api.
I have a use case where I generate helm manifest without ability to access the cluster so the lookup: {{- define "cluster_api.secret" -}} {{- $secret := lookup "v1" "Secret" .Release.Namespace "weaviate-cluster-api-basic-auth" -}} {{- if $secret -}} {{/* Reusing value of secret if exist */}} username: {{ $secret.data.username }} password: {{ $secret.data.password }} {{- else -}} {{/* add new data */}} username: {{ randAlphaNum 32 | b64enc | quote }} password: {{ randAlphaNum 32 | b64enc | quote }} {{- end -}} {{- end -}}
always return none and tries to generate the secret.
on the actual cluster I do have the secret and it collides.
hope that makes sense.
thanks
The text was updated successfully, but these errors were encountered:
we should be able to override the behavior of the creation of the cluster api.
I have a use case where I generate helm manifest without ability to access the cluster so the lookup:
{{- define "cluster_api.secret" -}} {{- $secret := lookup "v1" "Secret" .Release.Namespace "weaviate-cluster-api-basic-auth" -}} {{- if $secret -}} {{/* Reusing value of secret if exist */}} username: {{ $secret.data.username }} password: {{ $secret.data.password }} {{- else -}} {{/* add new data */}} username: {{ randAlphaNum 32 | b64enc | quote }} password: {{ randAlphaNum 32 | b64enc | quote }} {{- end -}} {{- end -}}
always return none and tries to generate the secret.
on the actual cluster I do have the secret and it collides.
hope that makes sense.
thanks
The text was updated successfully, but these errors were encountered: