Nicolas Massé 3 years ago
parent
commit
87b45d678e
  1. 21
      infrastructure/templates/sso.yaml

21
infrastructure/templates/sso.yaml

@ -4,6 +4,7 @@ metadata:
name: postgresql13-for-sso76-openshift-rhel8 name: postgresql13-for-sso76-openshift-rhel8
creationTimestamp: null creationTimestamp: null
annotations: annotations:
argocd.argoproj.io/sync-wave: "5"
openshift.io/display-name: PostgreSQL openshift.io/display-name: PostgreSQL
namespace: {{ .Values.projectName | quote }} namespace: {{ .Values.projectName | quote }}
spec: spec:
@ -33,6 +34,7 @@ apiVersion: image.openshift.io/v1
metadata: metadata:
name: sso76-openshift-rhel8 name: sso76-openshift-rhel8
annotations: annotations:
argocd.argoproj.io/sync-wave: "5"
description: Red Hat Single Sign-On 7.6 on OpenJDK description: Red Hat Single Sign-On 7.6 on OpenJDK
openshift.io/display-name: Red Hat Single Sign-On 7.6 on OpenJDK openshift.io/display-name: Red Hat Single Sign-On 7.6 on OpenJDK
openshift.io/provider-display-name: Red Hat, Inc. openshift.io/provider-display-name: Red Hat, Inc.
@ -64,6 +66,7 @@ apiVersion: v1
kind: Service kind: Service
metadata: metadata:
annotations: annotations:
argocd.argoproj.io/sync-wave: "5"
description: The web server's https port. description: The web server's https port.
service.alpha.openshift.io/dependencies: '[{"name": "sso-postgresql", "kind": service.alpha.openshift.io/dependencies: '[{"name": "sso-postgresql", "kind":
"Service"}]' "Service"}]'
@ -90,6 +93,8 @@ metadata:
template: sso76-x509-postgresql-persistent template: sso76-x509-postgresql-persistent
name: sso-postgresql-ssl name: sso-postgresql-ssl
namespace: {{ .Values.projectName | quote }} namespace: {{ .Values.projectName | quote }}
annotations:
argocd.argoproj.io/sync-wave: "5"
--- ---
apiVersion: build.openshift.io/v1 apiVersion: build.openshift.io/v1
kind: BuildConfig kind: BuildConfig
@ -97,6 +102,7 @@ metadata:
annotations: annotations:
description: Build config to extend the vanilla PostgreSQL SQL database server description: Build config to extend the vanilla PostgreSQL SQL database server
container image with SSL/TLS support. container image with SSL/TLS support.
argocd.argoproj.io/sync-wave: "5"
labels: labels:
application: sso application: sso
rhsso: 7.6.0.GA rhsso: 7.6.0.GA
@ -135,6 +141,7 @@ apiVersion: v1
kind: Service kind: Service
metadata: metadata:
annotations: annotations:
argocd.argoproj.io/sync-wave: "5"
description: The database server's port. description: The database server's port.
service.alpha.openshift.io/serving-cert-secret-name: postgresql-ssl-secret service.alpha.openshift.io/serving-cert-secret-name: postgresql-ssl-secret
labels: labels:
@ -154,6 +161,7 @@ apiVersion: v1
kind: Service kind: Service
metadata: metadata:
annotations: annotations:
argocd.argoproj.io/sync-wave: "5"
description: The JGroups ping port for clustering. description: The JGroups ping port for clustering.
service.alpha.openshift.io/serving-cert-secret-name: sso-x509-jgroups-secret service.alpha.openshift.io/serving-cert-secret-name: sso-x509-jgroups-secret
labels: labels:
@ -175,6 +183,7 @@ apiVersion: route.openshift.io/v1
kind: Route kind: Route
metadata: metadata:
annotations: annotations:
argocd.argoproj.io/sync-wave: "5"
description: Route for application's https service. description: Route for application's https service.
labels: labels:
application: sso application: sso
@ -193,6 +202,8 @@ spec:
apiVersion: apps.openshift.io/v1 apiVersion: apps.openshift.io/v1
kind: DeploymentConfig kind: DeploymentConfig
metadata: metadata:
annotations:
argocd.argoproj.io/sync-wave: "5"
labels: labels:
application: sso application: sso
rhsso: 7.6.0.GA rhsso: 7.6.0.GA
@ -326,6 +337,8 @@ spec:
apiVersion: apps.openshift.io/v1 apiVersion: apps.openshift.io/v1
kind: DeploymentConfig kind: DeploymentConfig
metadata: metadata:
annotations:
argocd.argoproj.io/sync-wave: "5"
labels: labels:
application: sso application: sso
rhsso: 7.6.0.GA rhsso: 7.6.0.GA
@ -386,6 +399,9 @@ spec:
initialDelaySeconds: 90 initialDelaySeconds: 90
successThreshold: 1 successThreshold: 1
timeoutSeconds: 10 timeoutSeconds: 10
resources: {}
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
volumeMounts: volumeMounts:
- mountPath: /var/lib/pgsql/data - mountPath: /var/lib/pgsql/data
name: sso-postgresql-pvol name: sso-postgresql-pvol
@ -393,9 +409,6 @@ spec:
name: postgresql-ssl-volume name: postgresql-ssl-volume
readOnly: true readOnly: true
terminationGracePeriodSeconds: 60 terminationGracePeriodSeconds: 60
resources: {}
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
volumes: volumes:
- name: sso-postgresql-pvol - name: sso-postgresql-pvol
persistentVolumeClaim: persistentVolumeClaim:
@ -417,6 +430,8 @@ spec:
apiVersion: v1 apiVersion: v1
kind: PersistentVolumeClaim kind: PersistentVolumeClaim
metadata: metadata:
annotations:
argocd.argoproj.io/sync-wave: "5"
labels: labels:
application: sso application: sso
rhsso: 7.6.0.GA rhsso: 7.6.0.GA

Loading…
Cancel
Save