-
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.
[redhat-3.13] blocker: fixing recursed accumulation of path for manag…
…ed clair resources (PROJQUAY-7993) (#970) The scale-down component was never rendered because of the incorrect path. The clair-postgres and clair-app needed to scale back after the postgres upgrade. This change ensures following flow in the case where clair is managed: - Scale down clair-app - Scale down clair-postgres - Upgrade clair-postgres - Scale up clair-postgres - Scale up clair-app --------- Co-authored-by: Shubhra Deshpande <shubhrajayant+github.com>
- Loading branch information
1 parent
cc5a566
commit 2d9f2fe
Showing
4 changed files
with
18 additions
and
3 deletions.
There are no files selected for viewing
6 changes: 6 additions & 0 deletions
6
kustomize/components/clairpgupgrade/scale-down-clair/clair-pg-scale-up.patch.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,6 @@ | ||
apiVersion: apps/v1 | ||
kind: Deployment | ||
metadata: | ||
name: clair-app | ||
spec: | ||
replicas: 2 |
6 changes: 6 additions & 0 deletions
6
kustomize/components/clairpgupgrade/scale-down-clair/clair.deployment-scale-up.patch.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,6 @@ | ||
apiVersion: apps/v1 | ||
kind: Deployment | ||
metadata: | ||
name: clair-postgres | ||
spec: | ||
replicas: 2 |
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