Set env at correct place
This commit is contained in:
parent
0cc08172f3
commit
bc25fe5849
|
@ -23,31 +23,31 @@ spec:
|
||||||
image: registry.asraphiel.dev/library/cdn-control:main
|
image: registry.asraphiel.dev/library/cdn-control:main
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 8080
|
- containerPort: 8080
|
||||||
env:
|
env:
|
||||||
- name: CDN_ACCESS_KEY
|
- name: CDN_ACCESS_KEY
|
||||||
valueFrom:
|
valueFrom:
|
||||||
secretKeyRef:
|
secretKeyRef:
|
||||||
name: cdn-secrets
|
name: cdn-secrets
|
||||||
key: access-key
|
key: access-key
|
||||||
- name: CDN_SECRET_KEY
|
- name: CDN_SECRET_KEY
|
||||||
valueFrom:
|
valueFrom:
|
||||||
secretKeyRef:
|
secretKeyRef:
|
||||||
name: cdn-secrets
|
name: cdn-secrets
|
||||||
key: secret-key
|
key: secret-key
|
||||||
- name: CDN_ENDPOINT
|
- name: CDN_ENDPOINT
|
||||||
valueFrom:
|
valueFrom:
|
||||||
secretKeyRef:
|
secretKeyRef:
|
||||||
name: cdn-secrets
|
name: cdn-secrets
|
||||||
key: endpoint
|
key: endpoint
|
||||||
- name: CDN_BASE_PATH
|
- name: CDN_BASE_PATH
|
||||||
valueFrom:
|
valueFrom:
|
||||||
secretKeyRef:
|
secretKeyRef:
|
||||||
name: cdn-secrets
|
name: cdn-secrets
|
||||||
key: base-path
|
key: base-path
|
||||||
- name: CDN_BUCKET
|
- name: CDN_BUCKET
|
||||||
valueFrom:
|
valueFrom:
|
||||||
secretKeyRef:
|
secretKeyRef:
|
||||||
name: cdn-secrets
|
name: cdn-secrets
|
||||||
key: bucket
|
key: bucket
|
||||||
imagePullSecrets:
|
imagePullSecrets:
|
||||||
- name: registry-creds
|
- name: registry-creds
|
||||||
|
|
Loading…
Reference in a new issue