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

defaultMode on configmap not set #607

Open
khauser opened this issue Apr 29, 2024 · 0 comments
Open

defaultMode on configmap not set #607

khauser opened this issue Apr 29, 2024 · 0 comments

Comments

@khauser
Copy link

khauser commented Apr 29, 2024

Describe the Issue

  volumes:
  - configMap:
      defaultMode: 511
      name: icm-11-azure-test-icm-as-jgroups-config-xml
    name: jgroups-config-volume

results in a ls -la on a normal pod:

-rwxrwxrwx 1 root      intershop 2201 Apr 29 13:34 jgroups-config.xml

and on a virtual-kublet it's:

drwxr-xr-x 2 root      root      4096 Apr 29 13:34 jgroups-config.xml

On both I configured:

  securityContext:
    fsGroup: 150
    fsGroupChangePolicy: OnRootMismatch
    runAsGroup: 150
    runAsNonRoot: false
    runAsUser: 150

Expected behavior
Both should look like:

-rwxrwxrwx 1 root      intershop 2201 Apr 29 13:34 jgroups-config.xml

Virtual-kubelet version
kubeletVersion: v1.25.0-vk-azure-aci-1.6.1
Kubernetes version
1.28.3
Additional context

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

No branches or pull requests

1 participant