added ghcr creds
This commit is contained in:
@@ -101,6 +101,9 @@ spec:
|
|||||||
- --image-cache-timeout=1h
|
- --image-cache-timeout=1h
|
||||||
# Log level
|
# Log level
|
||||||
- --log-level=info
|
- --log-level=info
|
||||||
|
env:
|
||||||
|
- name: DOCKER_CONFIG
|
||||||
|
value: /home/nonroot/.docker
|
||||||
ports:
|
ports:
|
||||||
- name: metrics
|
- name: metrics
|
||||||
containerPort: 8080
|
containerPort: 8080
|
||||||
@@ -130,6 +133,17 @@ spec:
|
|||||||
capabilities:
|
capabilities:
|
||||||
drop:
|
drop:
|
||||||
- ALL
|
- ALL
|
||||||
|
volumeMounts:
|
||||||
|
- name: ghcr-docker-config
|
||||||
|
mountPath: /home/nonroot/.docker
|
||||||
|
readOnly: true
|
||||||
|
volumes:
|
||||||
|
- name: ghcr-docker-config
|
||||||
|
secret:
|
||||||
|
secretName: ghcr-creds
|
||||||
|
items:
|
||||||
|
- key: .dockerconfigjson
|
||||||
|
path: config.json
|
||||||
---
|
---
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: Service
|
kind: Service
|
||||||
|
|||||||
Reference in New Issue
Block a user