-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add sample Openshift configmaps and secrets for Keycloak
- Loading branch information
Showing
8 changed files
with
92 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 @@ | ||
Sample configmaps. Update values according to deployment. |
18 changes: 18 additions & 0 deletions
18
keycloak/openshift/rahti2/configmap/template-keycloak-configmap-devel.yml
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,18 @@ | ||
apiVersion: v1 | ||
kind: ConfigMap | ||
metadata: | ||
name: 'keycloak-configmap-devel' | ||
namespace: researchfi-devel | ||
data: | ||
KC_LOG_SYSLOG_TYPE: rfc5424 | ||
KC_LOG_SYSLOG_OUTPUT: json | ||
KC_HOSTNAME_ADMIN: 'https://<keycloak URL here>' | ||
KC_PROXY_HEADERS: xforwarded | ||
KC_LOG_SYSLOG_APP_NAME: keycloak-devel | ||
KC_HTTP_ENABLED: 'true' | ||
KC_HOSTNAME: 'https://<keycloak URL here>' | ||
KC_LOG_SYSLOG_ENDPOINT: 'logstash-devel.researchfi-devel.svc.cluster.local:8080' | ||
KC_LOG: 'console,syslog' | ||
KC_LOG_SYSLOG_PROTOCOL: tcp | ||
binaryData: {} | ||
immutable: false |
18 changes: 18 additions & 0 deletions
18
keycloak/openshift/rahti2/configmap/template-keycloak-configmap-production.yml
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,18 @@ | ||
apiVersion: v1 | ||
kind: ConfigMap | ||
metadata: | ||
name: 'keycloak-configmap-production' | ||
namespace: researchfi-production | ||
data: | ||
KC_LOG_SYSLOG_TYPE: rfc5424 | ||
KC_LOG_SYSLOG_OUTPUT: json | ||
KC_HOSTNAME_ADMIN: 'https://<keycloak URL here>' | ||
KC_PROXY_HEADERS: xforwarded | ||
KC_LOG_SYSLOG_APP_NAME: keycloak-production | ||
KC_HTTP_ENABLED: 'true' | ||
KC_HOSTNAME: 'https://<keycloak URL here>' | ||
KC_LOG_SYSLOG_ENDPOINT: 'logstash-production.researchfi-production.svc.cluster.local:8080' | ||
KC_LOG: 'console,syslog' | ||
KC_LOG_SYSLOG_PROTOCOL: tcp | ||
binaryData: {} | ||
immutable: false |
18 changes: 18 additions & 0 deletions
18
keycloak/openshift/rahti2/configmap/template-keycloak-configmap-qa.yml
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,18 @@ | ||
apiVersion: v1 | ||
kind: ConfigMap | ||
metadata: | ||
name: 'keycloak-configmap-qa' | ||
namespace: researchfi-qa | ||
data: | ||
KC_LOG_SYSLOG_TYPE: rfc5424 | ||
KC_LOG_SYSLOG_OUTPUT: json | ||
KC_HOSTNAME_ADMIN: 'https://<keycloak URL here>' | ||
KC_PROXY_HEADERS: xforwarded | ||
KC_LOG_SYSLOG_APP_NAME: keycloak-qa | ||
KC_HTTP_ENABLED: 'true' | ||
KC_HOSTNAME: 'https://<keycloak URL here>' | ||
KC_LOG_SYSLOG_ENDPOINT: 'logstash-qa.researchfi-qa.svc.cluster.local:8080' | ||
KC_LOG: 'console,syslog' | ||
KC_LOG_SYSLOG_PROTOCOL: tcp | ||
binaryData: {} | ||
immutable: false |
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 @@ | ||
Sample secrets. Update values according to deployment. |
12 changes: 12 additions & 0 deletions
12
keycloak/openshift/rahti2/secret/template-keycloak-secret-devel.yml
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,12 @@ | ||
kind: Secret | ||
apiVersion: v1 | ||
metadata: | ||
name: keycloak-secret-devel | ||
namespace: researchfi-devel | ||
data: | ||
KC_BOOTSTRAP_ADMIN_PASSWORD: admin_password | ||
KC_BOOTSTRAP_ADMIN_USERNAME: admin_username | ||
KC_DB_PASSWORD: db_password | ||
KC_DB_URL: jdbc:sqlserver://<SQL server address here>:1433;DatabaseName=<database name here>;trustServerCertificate=true;integratedSecurity=false; | ||
KC_DB_USERNAME: db_username | ||
type: Opaque |
12 changes: 12 additions & 0 deletions
12
keycloak/openshift/rahti2/secret/template-keycloak-secret-production.yml
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,12 @@ | ||
kind: Secret | ||
apiVersion: v1 | ||
metadata: | ||
name: keycloak-secret-production | ||
namespace: researchfi-production | ||
data: | ||
KC_BOOTSTRAP_ADMIN_PASSWORD: admin_password | ||
KC_BOOTSTRAP_ADMIN_USERNAME: admin_username | ||
KC_DB_PASSWORD: db_password | ||
KC_DB_URL: jdbc:sqlserver://<SQL server address here>:1433;DatabaseName=<database name here>;trustServerCertificate=true;integratedSecurity=false; | ||
KC_DB_USERNAME: db_username | ||
type: Opaque |
12 changes: 12 additions & 0 deletions
12
keycloak/openshift/rahti2/secret/template-keycloak-secret-qa.yml
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,12 @@ | ||
kind: Secret | ||
apiVersion: v1 | ||
metadata: | ||
name: keycloak-secret-qa | ||
namespace: researchfi-qa | ||
data: | ||
KC_BOOTSTRAP_ADMIN_PASSWORD: admin_password | ||
KC_BOOTSTRAP_ADMIN_USERNAME: admin_username | ||
KC_DB_PASSWORD: db_password | ||
KC_DB_URL: jdbc:sqlserver://<SQL server address here>:1433;DatabaseName=<database name here>;trustServerCertificate=true;integratedSecurity=false; | ||
KC_DB_USERNAME: db_username | ||
type: Opaque |