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:
|
||||
- env:
|
||||
- name: ENTE_CREDENTIALS_FILE
|
||||
value: /credentials.yaml
|
||||
value: /credentials/credentials.yaml
|
||||
image: ghcr.io/ente-io/server
|
||||
name: museum
|
||||
command: [ "sh", "-c"]
|
||||
# loop forever, outputting "yo" every 5 seconds
|
||||
args: ["while true; do echo 'yo' && sleep 5; done;"]
|
||||
# command: [ "sh", "-c"]
|
||||
# # loop forever, outputting "yo" every 5 seconds
|
||||
# args: ["while true; do echo 'yo' && sleep 5; done;"]
|
||||
ports:
|
||||
- containerPort: 8080
|
||||
protocol: TCP
|
||||
@@ -30,7 +30,7 @@ spec:
|
||||
protocol: TCP
|
||||
volumeMounts:
|
||||
- name: credentials
|
||||
mountPath: /credentials.yaml
|
||||
mountPath: /credentials
|
||||
readOnly: true
|
||||
- mountPath: /var/logs
|
||||
name: custom-logs
|
||||
|
||||
Reference in New Issue
Block a user