Skip to content

Commit

Permalink
adding downstream official Red Hat container images for components
Browse files Browse the repository at this point in the history
  • Loading branch information
alecmerdler committed Sep 22, 2020
1 parent f6719b9 commit a241eb3
Show file tree
Hide file tree
Showing 4 changed files with 60 additions and 0 deletions.
20 changes: 20 additions & 0 deletions kustomize/overlays/downstream/3.4.0/kustomization.yaml
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 kustomize/overlays/downstream/3.4.0/upgrade/kustomization.yaml
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`?)...
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
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

0 comments on commit a241eb3

Please sign in to comment.