-
Notifications
You must be signed in to change notification settings - Fork 36
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
Getting 2 volume mount inside POD with same name "k8tz" #80
Comments
Hi @hari14singh, |
Same here with current k8tz 0.15.0 apiVersion: v1
kind: Pod
metadata:
annotations:
k8tz.io/injected: "true"
k8tz.io/timezone: Europe/Berlin
name: test-nginx-5988dbd68f-s9mqc
namespace: test
spec:
containers:
- env:
- name: TZ
value: Europe/Berlin
image: nginx:1.25.2
name: nginx
volumeMounts:
- mountPath: /etc/localtime
name: k8tz
readOnly: true
subPath: Europe/Berlin
- mountPath: /usr/share/zoneinfo
name: k8tz
readOnly: true
volumes:
- hostPath:
path: /usr/share/zoneinfo
type: ""
name: k8tz
|
To clarify the issue, the mounted
|
I will need to see the applied pod and or deployment that creates it. If it happen to someone, please open new issue and also provide logs from the admission controller with |
volumeMounts:
- mountPath: /etc/localtime
name: k8tz
readOnly: true
subPath: Asia/Kolkata
- mountPath: /usr/share/zoneinfo
name: k8tz
readOnly: true
volumes:
path: /usr/share/zoneinfo
type: ""
name: k8tz
Getting 2 volume mount inside POD with same name "k8tz" . This is causing problem. Second 1 is not needed.
test.txt
The text was updated successfully, but these errors were encountered: