From 22d57cc1d55ff95929ef1585a5a6fd51e1bc8296 Mon Sep 17 00:00:00 2001 From: dilip Date: Mon, 29 Apr 2024 12:30:10 +0530 Subject: [PATCH] Removed check-graphql init container --- charts/cdefense/templates/api/deployment.yaml | 20 ++++++++--------- .../cdefense/templates/newapi/deployment.yaml | 18 +++++++-------- charts/cdefense/templates/web/deployment.yaml | 22 +++++++++---------- 3 files changed, 30 insertions(+), 30 deletions(-) diff --git a/charts/cdefense/templates/api/deployment.yaml b/charts/cdefense/templates/api/deployment.yaml index 8f1ea13..3e17a4f 100644 --- a/charts/cdefense/templates/api/deployment.yaml +++ b/charts/cdefense/templates/api/deployment.yaml @@ -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 diff --git a/charts/cdefense/templates/newapi/deployment.yaml b/charts/cdefense/templates/newapi/deployment.yaml index 84f44a3..6e552b1 100644 --- a/charts/cdefense/templates/newapi/deployment.yaml +++ b/charts/cdefense/templates/newapi/deployment.yaml @@ -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 diff --git a/charts/cdefense/templates/web/deployment.yaml b/charts/cdefense/templates/web/deployment.yaml index 78f22a5..395d37e 100644 --- a/charts/cdefense/templates/web/deployment.yaml +++ b/charts/cdefense/templates/web/deployment.yaml @@ -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