Skip to content
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

fix: deployment template smtp secret ref #438

Merged
merged 1 commit into from
May 11, 2022

Conversation

iutx
Copy link
Contributor

@iutx iutx commented May 11, 2022

Related Issue or Design Document

Checklist

  • I have read the contributing guidelines
    and signed the CLA.
  • I have referenced an issue containing the design document if my change
    introduces a new feature.
  • I have read the security policy.
  • I confirm that this pull request does not address a security
    vulnerability. If this pull request addresses a security vulnerability, I
    confirm that I got green light (please contact
    security@ory.sh) from the maintainers to push
    the changes.
  • I have added tests that prove my fix is effective or that my feature
    works.
  • I have added necessary documentation within the code base (if
    appropriate).

Further comments

@CLAassistant
Copy link

CLAassistant commented May 11, 2022

CLA assistant check
All committers have signed the CLA.

Copy link
Collaborator

@Demonsthere Demonsthere left a comment

Choose a reason for hiding this comment

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

Good catch, thanks! 😃

@Demonsthere Demonsthere merged commit 5240409 into ory:master May 11, 2022
@dan2kx
Copy link

dan2kx commented Jul 11, 2022

is this change needed? it means when doing an upgrade it will fail to add that secret ref and the pod will fail, unless a placeholder is used? Which happened to me...

@Demonsthere
Copy link
Collaborator

@dan2kx I'm a bit confused by your comments, by adding the guard we should not enforce the env if it is not set in the config. Before that change the env was always required

@dan2kx
Copy link

dan2kx commented Jul 13, 2022

The secrets are created when the helm chart is first deployed and not on upgrade, so I would suggest this be moved to the secret chart if necessary?

since this change, when using this chart to upgrade, I have to add a fake secret to the values file for the container to use the secret that is already in the configured in kubernetes

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.

None yet

4 participants