-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Improve helm secrets template #8598
Merged
Merged
Changes from all commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
bda9371
[helm] make common.secrets.set more robust
yashgorana 9f28ff2
[helm] use values.dev.yaml
yashgorana 99c124f
[helm] some veilid cleanup
yashgorana ca54d5f
Update values.dev.yaml
yashgorana 8f9a788
Merge branch 'dev' into yash/helm-secrets-tpl
rasswanth-s fb2835f
Merge branch 'dev' into yash/helm-secrets-tpl
rasswanth-s File filter
Filter by extension
Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,8 +3,8 @@ global: | |
registry: docker.io | ||
version: 0.8.5-beta.9 | ||
|
||
# Force default secret values for development. DO NOT USE IN PRODUCTION | ||
useDefaultSecrets: false | ||
# Force default secret values for development. DO NOT SET THIS TO FALSE IN PRODUCTION | ||
randomizedSecrets: true | ||
|
||
mongo: | ||
# MongoDB config | ||
|
@@ -24,9 +24,9 @@ mongo: | |
# Mongo secret name. Override this if you want to use a self-managed secret. | ||
secretKeyName: mongo-secret | ||
|
||
# Dev mode default passwords | ||
defaultSecret: | ||
rootPassword: example | ||
# custom secret values | ||
secret: | ||
rootPassword: null | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Charts will no longer ship with a dev default value. It must be explicitly provided by the cluster owner if |
||
|
||
frontend: | ||
# Extra environment vars | ||
|
@@ -62,9 +62,9 @@ seaweedfs: | |
resourcesPreset: nano | ||
resources: null | ||
|
||
# Dev mode default passwords | ||
defaultSecret: | ||
s3RootPassword: admin | ||
# custom secret values | ||
secret: | ||
s3RootPassword: null | ||
|
||
proxy: | ||
# Extra environment vars | ||
|
@@ -122,9 +122,9 @@ node: | |
# - defaultRootPassword | ||
secretKeyName: backend-secret | ||
|
||
# Dev mode default passwords | ||
defaultSecret: | ||
defaultRootPassword: changethis | ||
# custom secret values | ||
secret: | ||
defaultRootPassword: null | ||
|
||
ingress: | ||
hostname: null # do not make this localhost | ||
|
@@ -152,7 +152,7 @@ ingress: | |
# ---------------------------------------- | ||
veilid: | ||
enabled: false | ||
serverFlags: "" | ||
serverFlags: null | ||
appLogLevel: "info" | ||
uvicornLogLevel: "info" | ||
|
||
|
@@ -161,4 +161,4 @@ veilid: | |
|
||
# Pod Resource Limits | ||
resourcesPreset: nano | ||
resources: null | ||
resources: null |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# Helm chart values used for development and testing | ||
# Can be used through `helm install -f values.dev.yaml` or devspace `valuesFiles` | ||
|
||
global: | ||
randomizedSecrets: false | ||
|
||
registry: | ||
storageSize: "5Gi" | ||
|
||
node: | ||
rootEmail: info@openmined.org | ||
defaultWorkerPoolCount: 1 | ||
|
||
secret: | ||
defaultRootPassword: changethis | ||
|
||
mongo: | ||
secret: | ||
rootPassword: example | ||
|
||
seaweedfs: | ||
secret: | ||
s3RootPassword: admin | ||
|
||
veilid: | ||
enabled: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
MAYBE: it would be good to setup application level secret randomization
instead of global.randomizedSecrets.
it could be
.Values.global.node.randomizedSecrets
Where for example if users , need to set a custom secret only for syft container, they could do it easily.
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.
This could be done similarly for mongo, seaweedfs
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.
Hmm ... looks like it didn't get pushed
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.
for that they can use what you had implemented, provide a custom Secret and use it through
values.backend.secretKeyName
.