Skip to content

Instantly share code, notes, and snippets.

@leifmadsen
Last active April 30, 2018 17:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save leifmadsen/d170311c9f6e2cfff739c1b1180b2fd7 to your computer and use it in GitHub Desktop.
Save leifmadsen/d170311c9f6e2cfff739c1b1180b2fd7 to your computer and use it in GitHub Desktop.
Telemetry Post-Install Actions

Telemetry Post-Install Actions

Some actions that might be done post-install of telemetry to setup the system.

add user to htpasswd

htpasswd -bn lmadsen Sup3r$3creT
<copy_hash>
sudo su -
cat >> /etc/origin/master/htpasswd <<EOF
<hash_from_copy>
EOF

make user admin of sa-telemetry project

oc policy add-role-to-user admin lmadsen -n sa-telemetry

make sure ASB sandbox setup for admin

oc project openshift-ansible-service-broker
oc edit configmap broker-config
    openshift:
      host: ""
      ca_file: ""
      bearer_token_file: ""
      namespace: openshift-ansible-service-broker
      sandbox_role: admin
      image_pull_policy: IfNotPresent
      keep_namespace: false
      keep_namespace_on_error: true
oc rollout latest dc/asb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment