Skip to content

Instantly share code, notes, and snippets.

@richm
Created May 24, 2017 20:45
Show Gist options
  • Save richm/eccf86445fb854ce1d351866eed258d0 to your computer and use it in GitHub Desktop.
Save richm/eccf86445fb854ce1d351866eed258d0 to your computer and use it in GitHub Desktop.
# add loggingPublicURL so the OpenShift UI Console will include a link for Kibana
# this part stolen from util.sh configure_os_server()
cp ${SERVER_CONFIG_DIR}/master/master-config.yaml ${SERVER_CONFIG_DIR}/master/master-config.orig.yaml
openshift ex config patch ${SERVER_CONFIG_DIR}/master/master-config.orig.yaml \
--patch="{\"assetConfig\": {\"loggingPublicURL\": \"https://${KIBANA_HOST}\"}}" > \
${SERVER_CONFIG_DIR}/master/master-config.yaml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment