Skip to content

Instantly share code, notes, and snippets.

@EvilFreelancer
Created April 25, 2023 23:18
Show Gist options
  • Select an option

  • Save EvilFreelancer/00c77d879c5eb1f6024f3f35d0abe5b1 to your computer and use it in GitHub Desktop.

Select an option

Save EvilFreelancer/00c77d879c5eb1f6024f3f35d0abe5b1 to your computer and use it in GitHub Desktop.
Использование секретов Helm
# templates/secret.yaml
apiVersion: v1
kind: Secret
metadata:
name: {{ .Release.Name }}-db-password
labels:
app: {{ .Release.Name }}
type: Opaque
data:
db-password: {{ randAlphaNum 12 | b64enc }}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment