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

Make acme-dns script permissions ug+rwx #104

Merged
merged 1 commit into from
Sep 16, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions component/acme-dns.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -137,8 +137,9 @@ local scriptPodSpec(name, script) = {
},
scripts: {
configMap: {
// 0700
defaultMode: 448,
// We need mode 0770 for the scripts, so they work correctly on OCP
// 4.11 where the configmap contents are owned by root:<pod-GID>.
defaultMode: std.parseOctal('770'),
name: scriptConfigmap.metadata.name,
},
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ spec:
- emptyDir: {}
name: home
- configMap:
defaultMode: 448
defaultMode: 504
name: register-acme-dns-client
name: scripts
---
Expand Down Expand Up @@ -264,7 +264,7 @@ spec:
- emptyDir: {}
name: home
- configMap:
defaultMode: 448
defaultMode: 504
name: register-acme-dns-client
name: scripts
schedule: 47 1 * * *
Expand Down