-
Notifications
You must be signed in to change notification settings - Fork 5
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
Sidecar #148
Sidecar #148
Conversation
2562f1c
to
5bfe973
Compare
java/values.yaml
Outdated
sidecars: | ||
- name: helper1 | ||
image: | ||
repository: "repo" | ||
tag: "123" | ||
extraContainerPorts: [8088, 9099] | ||
securityContext: | ||
readOnlyRootFilesystem: true | ||
allowPrivilegeEscalation: false | ||
resources: | ||
limits: | ||
cpu: 100m | ||
memory: 128Mi | ||
requests: | ||
cpu: 100m | ||
memory: 128Mi | ||
environment: { } | ||
secrets: { } | ||
volumeMounts: [ ] | ||
# - name: secret-volume | ||
# mountPath: /app/secrets | ||
# readOnly: true | ||
- name: helper2 | ||
image: | ||
repository: "repo" | ||
tag: "456" | ||
extraContainerPorts: [8088, 9099] | ||
securityContext: | ||
readOnlyRootFilesystem: true | ||
allowPrivilegeEscalation: false | ||
resources: | ||
limits: | ||
cpu: 100m | ||
memory: 128Mi | ||
requests: | ||
cpu: 100m | ||
memory: 128Mi | ||
environment: { } | ||
secrets: { } | ||
volumeMounts: | ||
- name: secret-volume | ||
mountPath: /app/secrets | ||
readOnly: true |
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 will force everyone using this chart to use this settings. If they do not explicit override or give a null value they will get this values. There is other company's using this helm chart so this is no go. use sidecars: {} as value and comment out the "example" (see csi: {})
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 for noticing that. Now it should do the job. Please check again.
libchart/values.yaml
Outdated
sidecars: | ||
- name: helper1 | ||
image: | ||
repository: "repo" | ||
tag: "123" | ||
extraContainerPorts: [8088, 9099] | ||
securityContext: | ||
readOnlyRootFilesystem: true | ||
allowPrivilegeEscalation: false | ||
resources: | ||
limits: | ||
cpu: 100m | ||
memory: 128Mi | ||
requests: | ||
cpu: 100m | ||
memory: 128Mi | ||
environment: { } | ||
secrets: { } | ||
volumeMounts: [ ] | ||
# - name: secret-volume | ||
# mountPath: /app/secrets | ||
# readOnly: true | ||
- name: helper2 | ||
image: | ||
repository: "repo" | ||
tag: "456" | ||
extraContainerPorts: [8088, 9099] | ||
securityContext: | ||
readOnlyRootFilesystem: true | ||
allowPrivilegeEscalation: false | ||
resources: | ||
limits: | ||
cpu: 100m | ||
memory: 128Mi | ||
requests: | ||
cpu: 100m | ||
memory: 128Mi | ||
environment: { } | ||
secrets: { } | ||
volumeMounts: | ||
- name: secret-volume | ||
mountPath: /app/secrets | ||
readOnly: true |
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 will force everyone using this chart to use this settings. If they do not explicit override or give a null value they will get this values. There is other company's using this helm chart so this is no go. use sidecars: {} as value and comment out the "example" (see csi: {})
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.
Same here.
Description
Types of changes
Issues this PR fixes
Fixes #