Add workloads/headlamp/patch-kubeconfig.yaml
This commit is contained in:
@@ -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
|
||||||
Reference in New Issue
Block a user