Skip to content

Commit

Permalink
Removed check-graphql init container
Browse files Browse the repository at this point in the history
  • Loading branch information
dt-dilip committed Apr 29, 2024
1 parent 91602c0 commit 22d57cc
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 30 deletions.
20 changes: 10 additions & 10 deletions charts/cdefense/templates/api/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,16 +37,16 @@ spec:
resources: {}
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
- name: check-graphql
image: radial/busyboxplus:curl
imagePullPolicy: IfNotPresent
command:
- sh
- -c
- until $(curl --connect-timeout 2 --output /dev/null --silent --fail http://graphql/v1/version); do
echo waiting for graphql; sleep 10; done; echo connection to graphql ok
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
# - name: check-graphql
# image: radial/busyboxplus:curl
# imagePullPolicy: IfNotPresent
# command:
# - sh
# - -c
# - until $(curl --connect-timeout 2 --output /dev/null --silent --fail http://graphql/v1/version); do
# echo waiting for graphql; sleep 10; done; echo connection to graphql ok
# terminationMessagePath: /dev/termination-log
# terminationMessagePolicy: File
- name: check-seed-pod
image: cdefense/scandb-seed:latest
# imagePullPolicy: IfNotPresent
Expand Down
18 changes: 9 additions & 9 deletions charts/cdefense/templates/newapi/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -69,15 +69,15 @@ spec:
# limits:
# memory: "0.5G"
initContainers:
- name: check-graphql
image: radial/busyboxplus:curl
imagePullPolicy: IfNotPresent
command:
- sh
- -c
- until $(curl --connect-timeout 2 --output /dev/null --silent --fail http://graphql/v1/version); do echo waiting for graphql; sleep 10; done; echo connection to graphql ok
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
# - name: check-graphql
# image: radial/busyboxplus:curl
# imagePullPolicy: IfNotPresent
# command:
# - sh
# - -c
# - until $(curl --connect-timeout 2 --output /dev/null --silent --fail http://graphql/v1/version); do echo waiting for graphql; sleep 10; done; echo connection to graphql ok
# terminationMessagePath: /dev/termination-log
# terminationMessagePolicy: File
- name: check-keycloak-pod
image: bitnami/kubectl:latest
imagePullPolicy: IfNotPresent
Expand Down
22 changes: 11 additions & 11 deletions charts/cdefense/templates/web/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -91,17 +91,17 @@ spec:
# limits:
# memory: "0.5G"
initContainers:
- name: check-graphql
image: radial/busyboxplus:curl
imagePullPolicy: IfNotPresent
command:
- sh
- -c
- until $(curl --connect-timeout 2 --output /dev/null --silent --fail http://graphql/v1/version); do
echo waiting for graphql; sleep 10; done; echo connection to graphql ok
resources: {}
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
# - name: check-graphql
# image: radial/busyboxplus:curl
# imagePullPolicy: IfNotPresent
# command:
# - sh
# - -c
# - until $(curl --connect-timeout 2 --output /dev/null --silent --fail http://graphql/v1/version); do
# echo waiting for graphql; sleep 10; done; echo connection to graphql ok
# resources: {}
# terminationMessagePath: /dev/termination-log
# terminationMessagePolicy: File
# - name: check-api
# image: radial/busyboxplus:curl
# imagePullPolicy: IfNotPresent
Expand Down

0 comments on commit 22d57cc

Please sign in to comment.