-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add external-secrets support #8
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you so much for this PR! A great move forward 😄
Please see my comments.
{{- if .Values.useExistingSecret }} | ||
name: {{ .Values.existingSecretName }} | ||
{{- else }} | ||
name: {{ template "postfix.fullname" . }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should be name: {{ template "postfix.fullname" . }}-secret
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed
helm/postfix/values.yaml
Outdated
existingSecretName: postfix | ||
|
||
# e.g kuberentes-external-secrets | ||
useExternalSecrets: false |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we put this under a dedicated block like the following
externalSecret:
enabled: false
secretsBackendType: secretsManager
secretsKey: infra/postfix
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
README.md
Outdated
helm/postfix | ||
``` | ||
|
||
1. Use kubernetes external secrets |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you add a link to the ExternalSecret
resource type?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it's there a few linws above - added link to CRD.yml
--set smtp.relayMyhostname=my.local \ | ||
--set smtp.relayUsername=${USERNAME} \ | ||
--set useExternalSecrets=true \ | ||
--set ExternalSecretsBackendType=secretsManager \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Need to update the example post your refactoring...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please fix this so I can merge. Looks like this is the last issue @hagzag .
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fix the last comment in the README.md
@hagzag ? |
@eldada looked useful ;) - added some support for secrets.