-
Notifications
You must be signed in to change notification settings - Fork 28
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
add a handful of examples for the various charts #331
base: main
Are you sure you want to change the base?
Conversation
We add an example for each product using sqlite (with NOT NFS), and an example of Connect using a sidecar sssd so that a dedicated Connect build is not required.
volumes: | ||
- name: sssd-emptydir | ||
emptyDir: {} | ||
- name: sssd-config | ||
configMap: | ||
name: sssd-config | ||
defaultMode: 0600 | ||
- name: pam-config | ||
configMap: | ||
name: pam-config | ||
defaultMode: 0755 | ||
volumeMounts: | ||
- name: sssd-emptydir | ||
mountPath: /var/lib/sss | ||
- name: pam-config | ||
mountPath: /etc/pam.d/common-account | ||
subPath: common-account | ||
- name: pam-config | ||
mountPath: /etc/pam.d/common-session | ||
subPath: common-session | ||
- name: pam-config | ||
mountPath: /etc/pam.d/common-auth | ||
subPath: common-auth | ||
- name: pam-config | ||
mountPath: /etc/pam.d/common-password | ||
subPath: common-password | ||
sidecar: | ||
- name: sssd | ||
image: "some-sssd-image" | ||
imagePullPolicy: "IfNotPresent" | ||
securityContext: {} | ||
volumeMounts: | ||
- name: sssd-emptydir | ||
mountPath: /var/lib/sss | ||
- name: sssd-config | ||
mountPath: /etc/sssd/ |
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.
We might be able to use this pattern to support runAsCurrent
user with off-host execution. I don't think it would require any changes to Connect since we already assume uid/gid/passwd consistency between Connect and the content Pod.
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.
😮 That's pretty cool!
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.
@aronatkins pointed out that rsandbox/PAM password forwarding might pose a problem here, but it's worth a spike to see how far this gets us and if there are any other limitations.
We add an example for each product using sqlite (with NOT NFS), and an example of Connect using a sidecar sssd so that a dedicated Connect build is not required.
We should really test that these examples work before we add them to the repo