-
Notifications
You must be signed in to change notification settings - Fork 85
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pgupgrade: Use different service for postgres old (PROJQUAY-6672) (#981)
Use a different service for the old postgres deployment during the upgrade process This ensures that the service will not point to the terminating deployment --------- Co-authored-by: Brandon Caton <[email protected]>
- Loading branch information
1 parent
d8bc894
commit 68c55fa
Showing
6 changed files
with
56 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 17 additions & 0 deletions
17
kustomize/components/clairpgupgrade/base/clair-pg-old.service.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
apiVersion: v1 | ||
kind: Service | ||
metadata: | ||
name: clair-postgres-old | ||
labels: | ||
quay-component: clair-postgres-old | ||
annotations: | ||
quay-component: clair-postgres-old | ||
spec: | ||
type: ClusterIP | ||
ports: | ||
- port: 5432 | ||
protocol: TCP | ||
name: postgres | ||
targetPort: 5432 | ||
selector: | ||
quay-component: clair-postgres-old |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters