mirror of
https://github.com/rubenhensen/k8scd.git
synced 2026-09-17 02:12:55 +02:00
Add credential secret as volume 6
This commit is contained in:
@@ -17,12 +17,12 @@ spec:
|
|||||||
containers:
|
containers:
|
||||||
- env:
|
- env:
|
||||||
- name: ENTE_CREDENTIALS_FILE
|
- name: ENTE_CREDENTIALS_FILE
|
||||||
value: /credentials.yaml
|
value: /credentials/credentials.yaml
|
||||||
image: ghcr.io/ente-io/server
|
image: ghcr.io/ente-io/server
|
||||||
name: museum
|
name: museum
|
||||||
command: [ "sh", "-c"]
|
# command: [ "sh", "-c"]
|
||||||
# loop forever, outputting "yo" every 5 seconds
|
# # loop forever, outputting "yo" every 5 seconds
|
||||||
args: ["while true; do echo 'yo' && sleep 5; done;"]
|
# args: ["while true; do echo 'yo' && sleep 5; done;"]
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 8080
|
- containerPort: 8080
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
@@ -30,7 +30,7 @@ spec:
|
|||||||
protocol: TCP
|
protocol: TCP
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: credentials
|
- name: credentials
|
||||||
mountPath: /credentials.yaml
|
mountPath: /credentials
|
||||||
readOnly: true
|
readOnly: true
|
||||||
- mountPath: /var/logs
|
- mountPath: /var/logs
|
||||||
name: custom-logs
|
name: custom-logs
|
||||||
|
|||||||
Reference in New Issue
Block a user