Skip to content

Commit

Permalink
fix e2e deploy for lts sub-chart
Browse files Browse the repository at this point in the history
Signed-off-by: Tao Li <[email protected]>
  • Loading branch information
litaocdl committed Nov 25, 2024
1 parent 4155ec5 commit e0bbccf
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 3 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/continuous-delivery.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ jobs:
run: |
helm upgrade --install edb-pg4k-lts --namespace postgresql-operator-system \
--create-namespace charts/edb-postgres-distributed-for-kubernetes/charts/edb-postgres-for-kubernetes-lts \
--set image.imageCredentials.create=true \
--set image.imageCredentials.username=${{ secrets.CS_USER }} \
--set image.imageCredentials.password=${{ secrets.CS_PASSWORD }} \
--wait --timeout 10m
Expand Down Expand Up @@ -213,6 +214,7 @@ jobs:
helm upgrade --install edb-pg4k-lts --namespace single-install \
--set config.clusterWide=false \
--create-namespace charts/edb-postgres-distributed-for-kubernetes/charts/edb-postgres-for-kubernetes-lts \
--set image.imageCredentials.create=true \
--set image.imageCredentials.username=${{ secrets.CS_USER }} \
--set image.imageCredentials.password=${{ secrets.CS_PASSWORD }} \
--wait --timeout 10m
Expand Down
14 changes: 11 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -288,6 +288,8 @@ To deploy PG4K-PGD with all dependencies together
helm upgrade --install edb-pg4k-pgd \
--namespace pgd-operator-system \
--create-namespace \
--set image.imageCredentials.username=${USERNAME} \
--set image.imageCredentials.password=${PASSWORD} \
charts/edb-postgres-distributed-for-kubernetes
```

Expand All @@ -297,21 +299,27 @@ To deploy the PG4K LTS subchart separately in a different namespace.
helm upgrade --install edb-pg4k-lts \
--namespace postgresql-operator-system \
--create-namespace \
--set image.imageCredentials.create=true \
--set image.imageCredentials.username=${USERNAME} \
--set image.imageCredentials.password=${PASSWORD} \
charts/edb-postgres-distributed-for-kubernetes/charts/edb-postgres-for-kubernetes-lts
```

and then deploy the PG4K-PGD chart.
and then deploy the PG4K-PGD chart with `edb-postgres-for-kubernetes-lts.enabled=false`
set.

```
helm upgrade --install edb-pg4k-pgd \
--namespace pgd-operator-system \
--create-namespace \
--set image.imageCredentials.username=${USERNAME} \
--set image.imageCredentials.password=${PASSWORD} \
charts/edb-postgres-distributed-for-kubernetes \
--set edb-postgres-for-kubernetes-lts.enabled=false
```

**Note:** The image locations and the credentials are elided. Please refer to
the sections above for directions.
**Note:** The image locations are elided. Please refer to the sections above
for directions.

If you update the version of the dependency charts and want to install from
source, remember to run `helm dependency update` and `helm dependency build` in
Expand Down

0 comments on commit e0bbccf

Please sign in to comment.