Skip to content
Snippets Groups Projects
Verified Commit 465ba5a5 authored by Sheogorath's avatar Sheogorath :european_castle:
Browse files

fix(dashobard): Add generic dashboard namespace

parent 79839237
No related branches found
No related tags found
No related merge requests found
......@@ -275,7 +275,11 @@ spec:
protocol: TCP
args:
- --enable-insecure-login
- --namespace=kubernetes-dashboard
env:
- name: POD_NAMESPACE
valueFrom:
fieldRef:
fieldPath: metadata.namespace
volumeMounts:
# Create on-disk volume to store exec logs
- mountPath: /tmp
......@@ -327,6 +331,11 @@ spec:
- name: kubernetes-dashboard-web
image: docker.io/kubernetesui/dashboard-web:v1.0.0
imagePullPolicy: IfNotPresent
env:
- name: POD_NAMESPACE
valueFrom:
fieldRef:
fieldPath: metadata.namespace
ports:
- containerPort: 8000
name: web
......@@ -385,6 +394,11 @@ spec:
ports:
- containerPort: 8000
protocol: TCP
env:
- name: POD_NAMESPACE
valueFrom:
fieldRef:
fieldPath: metadata.namespace
livenessProbe:
httpGet:
scheme: HTTP
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment