Commit 6e96c2f8 by tingweiwang

修改secret逻辑。增加items

1 parent a625ac14
......@@ -30,8 +30,7 @@ spec:
mountPath: /adl/bin/conf/app.yaml
subPath: app.yaml
- name: config-harbor-secret
mountPath: /root/.docker/config.json
subPath: config.json
mountPath: /root/.docker/
command: ["core--worker"]
ports:
- containerPort: 8080
......@@ -62,4 +61,9 @@ spec:
- name: config-harbor-secret
secret:
secretName: harbor-secret
items:
- key: .dockerconfigjson
path: config.json
mode: 0644
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!