Add workloads/headlamp/patch-kubeconfig.yaml

This commit is contained in:
2026-07-18 04:16:06 +00:00
parent 9353387331
commit 12deda7bc5
+21
View File
@@ -0,0 +1,21 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: headlamp
spec:
template:
spec:
containers:
- name: headlamp
env:
- name: KUBECONFIG
value: /home/headlamp/.config/Headlamp/kubeconfigs/config
volumeMounts:
- name: kubeconfig-vol
mountPath: /home/headlamp/.config/Headlamp/kubeconfigs/config
subPath: config
readOnly: true
volumes:
- name: kubeconfig-vol
secret:
secretName: headlamp-kubeconfig