Skip to content

Conversation

@hagzag
Copy link

@hagzag hagzag commented Apr 5, 2021

@eldada looked useful ;) - added some support for secrets.

Copy link
Owner

@eldada eldada left a 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" . }}
Copy link
Owner

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?

Copy link
Author

Choose a reason for hiding this comment

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

fixed

existingSecretName: postfix

# e.g kuberentes-external-secrets
useExternalSecrets: false
Copy link
Owner

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

Copy link
Author

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
Copy link
Owner

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?

Copy link
Author

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

@hagzag hagzag requested a review from eldada April 6, 2021 22:52
--set smtp.relayMyhostname=my.local \
--set smtp.relayUsername=${USERNAME} \
--set useExternalSecrets=true \
--set ExternalSecretsBackendType=secretsManager \
Copy link
Owner

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...

Copy link
Owner

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 .

Copy link
Owner

@eldada eldada left a 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

@eldada
Copy link
Owner

eldada commented Apr 10, 2021

@hagzag ?

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.

2 participants