Skip to content

Commit

Permalink
Remove initContainers in Dev in Helm (#58)
Browse files Browse the repository at this point in the history
* We migrated from AWS DocumentDB to MongoDB Atlas
* The `initContainers` are no longer needed
  • Loading branch information
rblaine95 authored Aug 10, 2023
1 parent b8c4340 commit ebcf9a0
Showing 1 changed file with 0 additions and 43 deletions.
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

0 comments on commit ebcf9a0

Please sign in to comment.