added ghcr creds
This commit is contained in:
@@ -101,6 +101,9 @@ spec:
|
||||
- --image-cache-timeout=1h
|
||||
# Log level
|
||||
- --log-level=info
|
||||
env:
|
||||
- name: DOCKER_CONFIG
|
||||
value: /home/nonroot/.docker
|
||||
ports:
|
||||
- name: metrics
|
||||
containerPort: 8080
|
||||
@@ -130,6 +133,17 @@ spec:
|
||||
capabilities:
|
||||
drop:
|
||||
- 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
|
||||
kind: Service
|
||||
|
||||
Reference in New Issue
Block a user