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: ...@@ -275,7 +275,11 @@ spec:
protocol: TCP protocol: TCP
args: args:
- --enable-insecure-login - --enable-insecure-login
- --namespace=kubernetes-dashboard env:
- name: POD_NAMESPACE
valueFrom:
fieldRef:
fieldPath: metadata.namespace
volumeMounts: volumeMounts:
# Create on-disk volume to store exec logs # Create on-disk volume to store exec logs
- mountPath: /tmp - mountPath: /tmp
...@@ -327,6 +331,11 @@ spec: ...@@ -327,6 +331,11 @@ spec:
- name: kubernetes-dashboard-web - name: kubernetes-dashboard-web
image: docker.io/kubernetesui/dashboard-web:v1.0.0 image: docker.io/kubernetesui/dashboard-web:v1.0.0
imagePullPolicy: IfNotPresent imagePullPolicy: IfNotPresent
env:
- name: POD_NAMESPACE
valueFrom:
fieldRef:
fieldPath: metadata.namespace
ports: ports:
- containerPort: 8000 - containerPort: 8000
name: web name: web
...@@ -385,6 +394,11 @@ spec: ...@@ -385,6 +394,11 @@ spec:
ports: ports:
- containerPort: 8000 - containerPort: 8000
protocol: TCP protocol: TCP
env:
- name: POD_NAMESPACE
valueFrom:
fieldRef:
fieldPath: metadata.namespace
livenessProbe: livenessProbe:
httpGet: httpGet:
scheme: HTTP 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