-
Notifications
You must be signed in to change notification settings - Fork 46
template bridge-whatsapp/configmap.yaml relaybot.invites must be … #45
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
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -56,17 +56,17 @@ spec: | |
| image: "{{ .Values.bridges.whatsapp.image.repository }}:{{ .Values.bridges.whatsapp.image.tag }}" | ||
| imagePullPolicy: {{ .Values.bridges.whatsapp.image.pullPolicy }} | ||
| command: ["sh"] | ||
| args: ["-c", "cp /load/config.yaml /data/config.yaml"] | ||
| args: ["-c", "cp /load/config.yaml /data/config.yaml; touch /bridges/whatsapp.yaml; chown 1000:1000 /data/config.yaml /bridges/whatsapp.yaml"] | ||
| volumeMounts: | ||
| - name: data | ||
| mountPath: /data | ||
| - name: config | ||
| mountPath: /load | ||
| readOnly: true | ||
| - name: bridges | ||
| mountPath: /bridges | ||
| securityContext: | ||
| capabilities: | ||
| drop: | ||
| - ALL | ||
| runAsUser: 0 | ||
|
Owner
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. I've tried very hard to run as many containers rootless as possible in this chart. I don't see why this container should need to manually fiddle with file permissions. What's the context behind this change? And why is it only needed for the WhatsApp bridge?
Author
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.
I'm really appreciate that.. Sorry, this Is related with #46... On my primary Environment (Ubunut CDK over Openstack and Cinder) get: |
||
| readOnlyRootFilesystem: true | ||
| allowPrivilegeEscalation: false | ||
| - name: "generate-config" | ||
|
|
||

Uh oh!
There was an error while loading. Please reload this page.