Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove initContainers in Dev in Helm #58

Merged
merged 1 commit into from
Aug 10, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
43 changes: 0 additions & 43 deletions helm/trust-registry/conf/dev/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,49 +3,6 @@ replicaCount: 1
image:
tag: latest

initContainers:
- name: nc-mongo
image: busybox
imagePullPolicy: Always
command:
- sh
- -c
- |
until nc -w 3 -z ${MONGO_HOST} ${MONGO_PORT}; do
echo "Waiting for mongo to start..."
sleep 3
done
env:
- name: MONGO_HOST
valueFrom:
secretKeyRef:
name: mongo-connect
key: dbHost
- name: MONGO_PORT
valueFrom:
secretKeyRef:
name: mongo-connect
key: dbPort
- name: download-certs
image: busybox
imagePullPolicy: Always
command:
- sh
- -c
- |
wget -O /certs/global-bundle.pem \
https://truststore.pki.rds.amazonaws.com/global/global-bundle.pem
volumeMounts:
- name: certs
mountPath: /certs
extraVolumes:
- name: certs
emptyDir: {}
extraVolumeMounts:
- name: certs
mountPath: /certs
readOnly: true

extraEnvVars:
dbConnectionString:
valueFrom:
Expand Down