Skip to content

Conversation

@sauyon
Copy link
Contributor

@sauyon sauyon commented Aug 9, 2023

This solves an issue where even if helm values are set to false, secret values will be preserved.

This is untested as I'm not exactly sure of how to test this, and shouldn't be merged.

/cc @bojiang

yetone and others added 30 commits December 27, 2022 11:23
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.1.0 to 0.7.0.
- [Release notes](https://github.com/golang/net/releases)
- [Commits](golang/net@v0.1.0...v0.7.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
DOCKER_REGISTRY_SERVER: {{ .Values.dockerRegistry.server | quote }}
DOCKER_REGISTRY_IN_CLUSTER_SERVER: {{ .Values.dockerRegistry.inClusterServer | quote }}
DOCKER_REGISTRY_USERNAME: {{ .Values.dockerRegistry.username | quote }}
{{- if not .Values.dockerRegistry.passwordExistingSecretName }}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you delete this, the passwordExistingSecretName will not take effect.

{{- if .Values.dockerRegistry.passwordExistingSecretName }}
- name: DOCKER_REGISTRY_PASSWORD
valueFrom:
secretKeyRef:
name: {{ .Values.dockerRegistry.passwordExistingSecretName | quote }}
key: {{ .Values.dockerRegistry.passwordExistingSecretKey | quote }}
{{- end }}

@yetone yetone force-pushed the main branch 2 times, most recently from 60ad04b to 001c1c1 Compare December 9, 2024 13:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants