Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[RHPAM-794] - Allow KIE server / OpenShift to be completely immutable #58

Merged
merged 1 commit into from
May 14, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
3 changes: 3 additions & 0 deletions kieserver/image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,9 @@ envs:
- name: "AUTO_CONFIGURE_EJB_TIMER"
example: "false"
description: "Set if the EJB timer datasources should be auto configured, if false, user will need to define the default and the ejb datasources using the DATASOURCES or DB_SERVICE_PREFIX_MAPPING environment variables manually. Default is true"
- name: "KIE_SERVER_MGMT_DISABLED"
example: "true"
description: "Turn the Execution server immutable, this setting prevents the controllers to execute tasks like add or remove kie containers."
ports:
- value: 8080
- value: 8443
Expand Down
9 changes: 1 addition & 8 deletions templates/rhpam70-prod-immutable-kieserver.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -247,15 +247,10 @@ parameters:
value: 1Gi
required: false
- displayName: Disable KIE Server Management
description: "Disable management api and don't allow KIE containers to be deployed/undeployed or started/stopped"
description: description: Disable management api and don't allow KIE containers to be deployed/undeployed or started/stopped sets the property org.kie.server.mgmt.api.disabled to true and org.kie.server.startup.strategy to LocalContainersStartupStrategy.
name: KIE_SERVER_MGMT_DISABLED
value: "true"
required: true
- displayName: KIE Server Startup Strategy
description: "When set to LocalContainersStartupStrategy, allows KIE server to start up and function with local config, even when a controller is configured and unavailable"
name: KIE_SERVER_STARTUP_STRATEGY
value: "LocalContainersStartupStrategy"
required: true
objects:
- kind: Service
apiVersion: v1
Expand Down Expand Up @@ -553,8 +548,6 @@ objects:
value: "${KIE_SERVER_HTTPS_PASSWORD}"
- name: KIE_SERVER_MGMT_DISABLED
value: "${KIE_SERVER_MGMT_DISABLED}"
- name: KIE_SERVER_STARTUP_STRATEGY
value: "${KIE_SERVER_STARTUP_STRATEGY}"
- name: JGROUPS_PING_PROTOCOL
value: "openshift.DNS_PING"
- name: OPENSHIFT_DNS_PING_SERVICE_NAME
Expand Down