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

Set 0600 fileMode for rstudio-connect.gcfg #44

Closed
wants to merge 4 commits into from
Closed

Conversation

dbkegley
Copy link
Contributor

@dbkegley dbkegley commented Aug 27, 2021

closes #42

@dbkegley dbkegley requested a review from colearendt August 27, 2021 14:55
Copy link
Contributor

@aronatkins aronatkins left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One question about how broadly we want 0600.

@@ -163,6 +163,7 @@ spec:
- name: rstudio-connect-config
configMap:
name: {{ include "rstudio-connect.fullname" . }}-config
defaultMode: 0600
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems to change the permissions for everything in the configMap, including the runtime.yaml and the JSON overrides. Is that OK?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great catch. We'll have to split those out into a separate configmap if we want to make this change. Unfortunately you can only set the defaultMode on the volume not on the volumeMount where we define the subPath

@dbkegley
Copy link
Contributor Author

This has fallen pretty far behind so I'm going to close this PR

@dbkegley dbkegley closed this Nov 28, 2022
@bschwedler bschwedler deleted the kegs-config-perms branch October 30, 2024 19:16
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.

rstudio-connect: set 600 permissions on rstudio-connect.gcfg
3 participants