Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Infrastructure GitOps
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Operate
Terraform modules
Analyze
Contributor analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Shivering-Isles
Infrastructure GitOps
Commits
465ba5a5
Verified
Commit
465ba5a5
authored
1 year ago
by
Sheogorath
Browse files
Options
Downloads
Patches
Plain Diff
fix(dashobard): Add generic dashboard namespace
parent
79839237
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
infrastructure/dashboard/kubernetes-dashboard.yaml
+15
-1
15 additions, 1 deletion
infrastructure/dashboard/kubernetes-dashboard.yaml
with
15 additions
and
1 deletion
infrastructure/dashboard/kubernetes-dashboard.yaml
+
15
−
1
View file @
465ba5a5
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment