This website works better with JavaScript.
Home
Explore
Help
Register
Sign In
DurianLAB
/
Homepage-Dashboard
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Projects
0
Releases
0
Wiki
Activity
Browse Source
change config map to a git pv
replace configmap volume for new pv
master
anpham
2 weeks ago
parent
2369747b26
commit
c78b3ac069
1 changed files
with
14 additions
and
6 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+14
-6
hommer-deployment.yml
+ 14
- 6
hommer-deployment.yml
View File
@ -15,19 +15,27 @@ spec:
labels:
app
:
hommer
spec:
volumes:
-
name
:
git-repo-volume
emptyDir
:
{}
# Define init container
initContainers:
-
name
:
git-cloner
image
:
alpine/git:latest
commad
:
[
"git"
,
"clone"
,
""
]
volumeMounts:
-
name
:
git-repo-volume
mountpath
:
/repo
containers
:
-
name
:
hommer
image
:
b4bz/homer:v23.09.1
volumeMounts:
-
name
:
assets
-
name
:
git-repo-volume
mountPath
:
/www/assets
ports:
-
containerPort
:
8080
volumes:
-
name
:
assets
configMap
:
name
:
homer-config
---
apiVersion
:
v1
kind
:
Service
Write
Preview
Loading…
Cancel
Save