|
|
@ -120,7 +120,6 @@ spec: |
|
|
- name: ARTIFACT_DIR |
|
|
- name: ARTIFACT_DIR |
|
|
value: ${ARTIFACT_DIR} |
|
|
value: ${ARTIFACT_DIR} |
|
|
- name: MAVEN_ARGS_APPEND |
|
|
- name: MAVEN_ARGS_APPEND |
|
|
value: "" |
|
|
|
|
|
forcePull: true |
|
|
forcePull: true |
|
|
from: |
|
|
from: |
|
|
kind: ImageStreamTag |
|
|
kind: ImageStreamTag |
|
|
@ -233,11 +232,8 @@ spec: |
|
|
- name: TX_DATABASE_PREFIX_MAPPING |
|
|
- name: TX_DATABASE_PREFIX_MAPPING |
|
|
value: sso-postgresql=DB |
|
|
value: sso-postgresql=DB |
|
|
- name: DB_MIN_POOL_SIZE |
|
|
- name: DB_MIN_POOL_SIZE |
|
|
value: "" |
|
|
|
|
|
- name: DB_MAX_POOL_SIZE |
|
|
- name: DB_MAX_POOL_SIZE |
|
|
value: "" |
|
|
|
|
|
- name: DB_TX_ISOLATION |
|
|
- name: DB_TX_ISOLATION |
|
|
value: "" |
|
|
|
|
|
- name: JGROUPS_PING_PROTOCOL |
|
|
- name: JGROUPS_PING_PROTOCOL |
|
|
value: openshift.DNS_PING |
|
|
value: openshift.DNS_PING |
|
|
- name: OPENSHIFT_DNS_PING_SERVICE_NAME |
|
|
- name: OPENSHIFT_DNS_PING_SERVICE_NAME |
|
|
@ -256,14 +252,15 @@ spec: |
|
|
name: demo-seed |
|
|
name: demo-seed |
|
|
key: sso-admin-password |
|
|
key: sso-admin-password |
|
|
- name: SSO_REALM |
|
|
- name: SSO_REALM |
|
|
value: "" |
|
|
|
|
|
- name: SSO_SERVICE_USERNAME |
|
|
- name: SSO_SERVICE_USERNAME |
|
|
value: "" |
|
|
|
|
|
- name: SSO_SERVICE_PASSWORD |
|
|
- name: SSO_SERVICE_PASSWORD |
|
|
value: "" |
|
|
|
|
|
image: sso |
|
|
image: sso |
|
|
imagePullPolicy: Always |
|
|
imagePullPolicy: Always |
|
|
livenessProbe: |
|
|
livenessProbe: |
|
|
|
|
|
failureThreshold: 3 |
|
|
|
|
|
periodSeconds: 10 |
|
|
|
|
|
successThreshold: 1 |
|
|
|
|
|
timeoutSeconds: 1 |
|
|
exec: |
|
|
exec: |
|
|
command: |
|
|
command: |
|
|
- /bin/bash |
|
|
- /bin/bash |
|
|
@ -285,6 +282,10 @@ spec: |
|
|
name: ping |
|
|
name: ping |
|
|
protocol: TCP |
|
|
protocol: TCP |
|
|
readinessProbe: |
|
|
readinessProbe: |
|
|
|
|
|
failureThreshold: 3 |
|
|
|
|
|
periodSeconds: 10 |
|
|
|
|
|
successThreshold: 1 |
|
|
|
|
|
timeoutSeconds: 1 |
|
|
exec: |
|
|
exec: |
|
|
command: |
|
|
command: |
|
|
- /bin/bash |
|
|
- /bin/bash |
|
|
@ -293,6 +294,8 @@ spec: |
|
|
resources: |
|
|
resources: |
|
|
limits: |
|
|
limits: |
|
|
memory: 1Gi |
|
|
memory: 1Gi |
|
|
|
|
|
terminationMessagePath: /dev/termination-log |
|
|
|
|
|
terminationMessagePolicy: File |
|
|
volumeMounts: |
|
|
volumeMounts: |
|
|
- mountPath: /etc/x509/https |
|
|
- mountPath: /etc/x509/https |
|
|
name: sso-x509-https-volume |
|
|
name: sso-x509-https-volume |
|
|
@ -354,16 +357,14 @@ spec: |
|
|
- name: POSTGRESQL_DATABASE |
|
|
- name: POSTGRESQL_DATABASE |
|
|
value: sso |
|
|
value: sso |
|
|
- name: POSTGRESQL_MAX_CONNECTIONS |
|
|
- name: POSTGRESQL_MAX_CONNECTIONS |
|
|
value: "" |
|
|
|
|
|
- name: POSTGRESQL_MAX_PREPARED_TRANSACTIONS |
|
|
- name: POSTGRESQL_MAX_PREPARED_TRANSACTIONS |
|
|
value: "" |
|
|
|
|
|
- name: POSTGRESQL_SHARED_BUFFERS |
|
|
- name: POSTGRESQL_SHARED_BUFFERS |
|
|
value: "" |
|
|
|
|
|
image: postgresql |
|
|
image: postgresql |
|
|
imagePullPolicy: Always |
|
|
imagePullPolicy: Always |
|
|
livenessProbe: |
|
|
livenessProbe: |
|
|
failureThreshold: 3 |
|
|
failureThreshold: 3 |
|
|
initialDelaySeconds: 90 |
|
|
initialDelaySeconds: 90 |
|
|
|
|
|
periodSeconds: 10 |
|
|
successThreshold: 1 |
|
|
successThreshold: 1 |
|
|
tcpSocket: |
|
|
tcpSocket: |
|
|
port: 5432 |
|
|
port: 5432 |
|
|
@ -381,6 +382,7 @@ spec: |
|
|
- PGSSLMODE=require psql -h 127.0.0.1 -U $POSTGRESQL_USER -q -d $POSTGRESQL_DATABASE |
|
|
- PGSSLMODE=require psql -h 127.0.0.1 -U $POSTGRESQL_USER -q -d $POSTGRESQL_DATABASE |
|
|
-c 'SELECT 1' |
|
|
-c 'SELECT 1' |
|
|
failureThreshold: 3 |
|
|
failureThreshold: 3 |
|
|
|
|
|
periodSeconds: 10 |
|
|
initialDelaySeconds: 90 |
|
|
initialDelaySeconds: 90 |
|
|
successThreshold: 1 |
|
|
successThreshold: 1 |
|
|
timeoutSeconds: 10 |
|
|
timeoutSeconds: 10 |
|
|
@ -391,6 +393,9 @@ 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: |
|
|
|