Commit 6e96c2f8 by tingweiwang

修改secret逻辑。增加items

1 parent a625ac14
...@@ -30,8 +30,7 @@ spec: ...@@ -30,8 +30,7 @@ spec:
mountPath: /adl/bin/conf/app.yaml mountPath: /adl/bin/conf/app.yaml
subPath: app.yaml subPath: app.yaml
- name: config-harbor-secret - name: config-harbor-secret
mountPath: /root/.docker/config.json mountPath: /root/.docker/
subPath: config.json
command: ["core--worker"] command: ["core--worker"]
ports: ports:
- containerPort: 8080 - containerPort: 8080
...@@ -62,4 +61,9 @@ spec: ...@@ -62,4 +61,9 @@ spec:
- name: config-harbor-secret - name: config-harbor-secret
secret: secret:
secretName: harbor-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!