Skip to content

Commit

Permalink
secrets
Browse files Browse the repository at this point in the history
  • Loading branch information
briansunter committed Jun 16, 2024
1 parent 35bc09d commit f4531ad
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions manifests/nginx-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,19 +18,19 @@ spec:
volumeMounts:
- name: dist
mountPath: /usr/share/nginx/html
- name: kaniko-secret
mountPath: /kaniko/.docker
# - name: kaniko-secret
# mountPath: /kaniko/.docker
securityContext:
privileged: true
restartPolicy: Always
volumes:
- name: dist
emptyDir: {}
- name: kaniko-secret
secret:
secretName: regcred
items:
- key: .dockerconfigjson
path: config.json
imagePullSecrets:
- name: regcred
# - name: kaniko-secret
# secret:
# secretName: regcred
# items:
# - key: .dockerconfigjson
# path: config.json
# imagePullSecrets:
# - name: regcred

0 comments on commit f4531ad

Please sign in to comment.