-
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.
adding downstream official Red Hat container images for components
- Loading branch information
1 parent
f6719b9
commit a241eb3
Showing
4 changed files
with
60 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# Overlay variant for Project Quay "padme" release. | ||
apiVersion: kustomize.config.k8s.io/v1beta1 | ||
kind: Kustomization | ||
commonAnnotations: | ||
quay-version: v3.4.0 | ||
bases: | ||
- ../../../tmp | ||
images: | ||
- name: quay.io/projectquay/quay | ||
newName: quay.io/redhat/quay | ||
newTag: v3.4.0 | ||
- name: quay.io/projectquay/clair | ||
newName: quay.io/redhat/clair | ||
newTag: v3.4.0 | ||
- name: redis | ||
newName: registry.access.redhat.com/rhscl/redis-32-rhel7 | ||
- name: postgres | ||
newName: registry.access.redhat.com/rhscl/postgresql-10-rhel7 | ||
newTag: 1-35 | ||
# FIXME(alecmerdler): Need to handle `redhat-pull-secret` (potentially with a `secretGenerator`?)... |
24 changes: 24 additions & 0 deletions
24
kustomize/overlays/downstream/3.4.0/upgrade/kustomization.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,24 @@ | ||
# Overlay variant for upgrading to Red Hat Quay "v3.4.0" release. | ||
apiVersion: kustomize.config.k8s.io/v1beta1 | ||
kind: Kustomization | ||
commonAnnotations: | ||
quay-version: v3.4.0 | ||
bases: | ||
- ../../../../tmp | ||
patchesStrategicMerge: | ||
# Scale the app deployment to 0 pods in order to run all migrations present in the new container image using the "upgrade" deployment. | ||
- ./quay.deployment.patch.yaml | ||
- ./upgrade.deployment.patch.yaml | ||
images: | ||
- name: quay.io/projectquay/quay | ||
newName: quay.io/redhat/quay | ||
newTag: v3.4.0 | ||
- name: quay.io/projectquay/clair | ||
newName: quay.io/redhat/clair | ||
newTag: v3.4.0 | ||
- name: redis | ||
newName: registry.access.redhat.com/rhscl/redis-32-rhel7 | ||
- name: postgres | ||
newName: registry.access.redhat.com/rhscl/postgresql-10-rhel7 | ||
newTag: 1-35 | ||
# FIXME(alecmerdler): Need to handle `redhat-pull-secret` (potentially with a `secretGenerator`?)... |
8 changes: 8 additions & 0 deletions
8
kustomize/overlays/downstream/3.4.0/upgrade/quay.deployment.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,8 @@ | ||
apiVersion: apps/v1 | ||
kind: Deployment | ||
metadata: | ||
name: quay-app | ||
annotations: | ||
quay-upgrade: v3.4.0 | ||
spec: | ||
replicas: 0 |
8 changes: 8 additions & 0 deletions
8
kustomize/overlays/downstream/3.4.0/upgrade/upgrade.deployment.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,8 @@ | ||
apiVersion: apps/v1 | ||
kind: Deployment | ||
metadata: | ||
name: quay-app-upgrade | ||
annotations: | ||
quay-upgrade: v3.4.0 | ||
spec: | ||
replicas: 1 |