Commit 9e479e57 authored by wulaiwei's avatar wulaiwei Committed by Jason Song

修复 spec.template.spec.initContainers[1].name: Duplicate value #1789 (#1952)

修复service-apollo-portal-server.yaml initContainers The Deployment "deployment-apollo-portal-server" is invalid:问题
parent 5a8dfb8a
...@@ -25,3 +25,4 @@ target ...@@ -25,3 +25,4 @@ target
# git # git
*.orig *.orig
...@@ -125,13 +125,13 @@ spec: ...@@ -125,13 +125,13 @@ spec:
name: check-service-apollo-admin-server-dev name: check-service-apollo-admin-server-dev
command: ['bash', '-c', "curl --connect-timeout 2 --max-time 5 --retry 60 --retry-delay 1 --retry-max-time 120 service-apollo-admin-server-dev.sre:8090"] command: ['bash', '-c', "curl --connect-timeout 2 --max-time 5 --retry 60 --retry-delay 1 --retry-max-time 120 service-apollo-admin-server-dev.sre:8090"]
- image: alpine-bash:3.8 - image: alpine-bash:3.8
name: check-service-apollo-admin-server-dev name: check-service-apollo-admin-server-alpha
command: ['bash', '-c', "curl --connect-timeout 2 --max-time 5 --retry 60 --retry-delay 1 --retry-max-time 120 service-apollo-admin-server-test-alpha.sre:8090"] command: ['bash', '-c', "curl --connect-timeout 2 --max-time 5 --retry 60 --retry-delay 1 --retry-max-time 120 service-apollo-admin-server-test-alpha.sre:8090"]
- image: alpine-bash:3.8 - image: alpine-bash:3.8
name: check-service-apollo-admin-server-dev name: check-service-apollo-admin-server-beta
command: ['bash', '-c', "curl --connect-timeout 2 --max-time 5 --retry 60 --retry-delay 1 --retry-max-time 120 service-apollo-admin-server-test-beta.sre:8090"] command: ['bash', '-c', "curl --connect-timeout 2 --max-time 5 --retry 60 --retry-delay 1 --retry-max-time 120 service-apollo-admin-server-test-beta.sre:8090"]
- image: alpine-bash:3.8 - image: alpine-bash:3.8
name: check-service-apollo-admin-server-dev name: check-service-apollo-admin-server-prod
command: ['bash', '-c', "curl --connect-timeout 2 --max-time 5 --retry 60 --retry-delay 1 --retry-max-time 120 service-apollo-admin-server-prod.sre:8090"] command: ['bash', '-c', "curl --connect-timeout 2 --max-time 5 --retry 60 --retry-delay 1 --retry-max-time 120 service-apollo-admin-server-prod.sre:8090"]
containers: containers:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment