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

update secret key in kodiak secret #20

Merged
merged 3 commits into from
Dec 3, 2021

Conversation

LeoQuote
Copy link
Contributor

@LeoQuote LeoQuote commented Dec 3, 2021

turns out there's a bit missing change 🤦‍

@etiennetremel
Copy link
Member

@LeoQuote could you also rename the key in the values.yaml file?

Use:

githubV4ApiUrl:

Instead of:

githubV4ApiRoot:

@etiennetremel etiennetremel self-requested a review December 3, 2021 08:32
@LeoQuote
Copy link
Contributor Author

LeoQuote commented Dec 3, 2021

I've been thinking about it , why this is so hard to achive such simple thing. I think there could be a better way,

like we can just provide an "env" value , and render it as is in deployment.

you can write :

env:
    - name: PRIVATE_KEY
      valueFrom:
        secretKeyRef:
          name: kodiak
          key: PRIVATE_KEY

could this be a better solution?

@LeoQuote
Copy link
Contributor Author

LeoQuote commented Dec 3, 2021

yes change in values.yaml was coverd by another pr: #18

@etiennetremel etiennetremel merged commit 56dd31f into FikaWorks:master Dec 3, 2021
@etiennetremel
Copy link
Member

I've been thinking about it , why this is so hard to achive such simple thing. I think there could be a better way,

like we can just provide an "env" value , and render it as is in deployment.

you can write :

env:
    - name: PRIVATE_KEY
      valueFrom:
        secretKeyRef:
          name: kodiak
          key: PRIVATE_KEY

could this be a better solution?

Yes indeed, we can keep the current config but still add a additionalEnv: field in the values.yaml which would append custom block under env:.

@LeoQuote LeoQuote deleted the patch-1 branch December 6, 2021 03:52
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

2 participants