Skip to content

Commit

Permalink
Use postgres backend in dev environment. (#1459)
Browse files Browse the repository at this point in the history
  • Loading branch information
absoludity authored Jan 16, 2020
1 parent fb43290 commit 36d1615
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
3 changes: 3 additions & 0 deletions docs/user/manifests/kubeapps-local-dev-values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,6 @@ dashboard:
replicaCount: 1
kubeops:
replicaCount: 1
postgresql:
replication:
enabled: false
1 change: 1 addition & 0 deletions script/cluster-kind.mk
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ devel/local-dev-apiserver-config.json:

${CLUSTER_CONFIG}: devel/local-dev-apiserver-config.json
kind create cluster \
--kubeconfig ${CLUSTER_CONFIG} \
--name ${CLUSTER_NAME} \
--config=./devel/local-dev-apiserver-config.json \
--retain
Expand Down
4 changes: 3 additions & 1 deletion script/deploy-dev.mk
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,9 @@ deploy-dev: deploy-dex deploy-openldap update-apiserver-etc-hosts
helm install kubeapps ./chart/kubeapps --namespace kubeapps \
--values ./docs/user/manifests/kubeapps-local-dev-values.yaml \
--values ./docs/user/manifests/kubeapps-local-dev-auth-proxy-values.yaml \
--set useHelm3=true
--set useHelm3=true \
--set postgresql.enabled=true \
--set mongodb.enabled=false
kubectl apply -f ./docs/user/manifests/kubeapps-local-dev-users-rbac.yaml
@echo "\nEnsure you have the entry '127.0.0.1 dex.dex' in your /etc/hosts, then run\n"
@echo "kubectl -n dex port-forward svc/dex 32000\n"
Expand Down

0 comments on commit 36d1615

Please sign in to comment.