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

template bridge-whatsapp/configmap.yaml relaybot.invites must be … #45

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

arpagon
Copy link

@arpagon arpagon commented Oct 2, 2020

template bridge-whatsapp/configmap.yaml relaybot.invites must be array quote

https://github.com/tulir/mautrix-whatsapp/blob/v0.1.4/example-config.yaml#L228-L229

Example:

invites:
    - "pep:example.local"
    - "guardiola:example.local"

templates/bridge-whatsapp/configmap.yaml Show resolved Hide resolved
capabilities:
drop:
- ALL
runAsUser: 0
Copy link
Owner

Choose a reason for hiding this comment

The 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?

Copy link
Author

@arpagon arpagon Oct 9, 2020

Choose a reason for hiding this comment

The 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'm really appreciate that.. Sorry, this Is related with #46... On my primary Environment (Ubunut CDK over Openstack and Cinder) get:
image
$ kubectl logs pod/matrixtest-bridge-whatsapp-6d7b9c87-77lsl -c generate-config Failed to save registration: open /bridges/whatsapp.yaml: permission denied

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.

2 participants