Skip to content

Commit

Permalink
Add image versions
Browse files Browse the repository at this point in the history
  • Loading branch information
sjmiller609 committed Feb 25, 2020
1 parent 02ec3e2 commit 80cb8ef
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 2 deletions.
14 changes: 14 additions & 0 deletions bin/start-kind-cluster
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,17 @@ kubectl create clusterrolebinding tiller-cluster-rule --clusterrole=cluster-admi
echo "Installing Tiller in the cluster..."
helm init --service-account tiller --upgrade --wait
echo "Tiller installed."

echo "Deploying postgresql..."
helm install -n postgresql --namespace astronomer --wait \
--set image.tag=9.6.15-centos-7-r34 \
--set postgresqlPassword=notactuallysecret \
stable/postgresql > /dev/null 2>&1

export POSTGRES_PASSWORD=$(kubectl get secret --namespace astronomer postgresql -o jsonpath="{.data.postgresql-password}" | base64 --decode)
export DB_CONNECTION_STRING="postgres://postgres:${POSTGRES_PASSWORD}@postgresql.astronomer:5432"
kubectl create secret generic astronomer-bootstrap \
--from-literal connection=$DB_CONNECTION_STRING \
--namespace astronomer

echo "Postgresql deployed."
4 changes: 2 additions & 2 deletions values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -69,11 +69,11 @@ images:
# If tag is specified here or overridden, that value is used, otherwise
# it is build using {{ .Chart.Version }}-{{ .Values.airflowVersion }}
repository: astronomerinc/ap-airflow
tag: ~
tag: 0.10.3-0.10.5
pullPolicy: IfNotPresent
flower:
repository: astronomerinc/ap-airflow
tag: ~
tag: 0.10.3-0.10.5
pullPolicy: IfNotPresent
statsd:
repository: astronomerinc/ap-statsd-exporter
Expand Down

0 comments on commit 80cb8ef

Please sign in to comment.