Browse Source

Update 'hommer-deployment.yml'

master
anpham 1 week ago
parent
commit
199e8fb9b6
1 changed files with 7 additions and 7 deletions
  1. +7
    -7
      hommer-deployment.yml

+ 7
- 7
hommer-deployment.yml View File

@ -14,15 +14,15 @@ spec:
labels: labels:
app: hommer app: hommer
spec: spec:
# This is CRUCIAL for the livenessProbe on initContainers
restartPolicy: Always restartPolicy: Always
volumes: volumes:
- name: git-repo-volume - name: git-repo-volume
emptyDir: {} emptyDir: {}
# - name: config-volume
# configMap:
# name: homer-config
# - name: config-volume
# configMap:
# name: homer-config
# Define init container # Define init container
initContainers: initContainers:
- name: git-cloner - name: git-cloner
@ -40,7 +40,7 @@ spec:
periodSeconds: 10 # Check every 10 seconds periodSeconds: 10 # Check every 10 seconds
timeoutSeconds: 5 # Probe times out after 5 seconds timeoutSeconds: 5 # Probe times out after 5 seconds
failureThreshold: 3 # After 3 failed attempts, consider the container unhealthy failureThreshold: 3 # After 3 failed attempts, consider the container unhealthy
containers: containers:
- name: hommer - name: hommer
image: b4bz/homer:v23.09.1 image: b4bz/homer:v23.09.1
@ -48,8 +48,8 @@ spec:
- name: git-repo-volume - name: git-repo-volume
mountPath: /www/assets mountPath: /www/assets
subPath: Homepage-Dashboard/assets subPath: Homepage-Dashboard/assets
# - name: config-volume
# mountPath: /www/assets
# - name: config-volume
# mountPath: /www/assets
ports: ports:
- containerPort: 8080 - containerPort: 8080
--- ---


Loading…
Cancel
Save