Skip to content

clbartolome/openshift-devops

Repository files navigation

openshift-devops

Repository with an application lifecycle overview

Install

Configure installation playbook if needed (installation/vars.yaml):

demoNamespaces:
  # Exclude operators installation namespaces
  - name: test
  ...

imagesSource:
  # Configure if you need namespaces to pull images from an specific one
  enabled: true
  namespace: <namespace>

operators:
  - name: <operator name>
    namespace: <operator namespace>
    channel: <operator channel>
    source: <operator source>
    sourcenamespace: <operator source namespace>
    clusterwide: <true/false>
  ...

Login in an OpenShift cluster and run the playbook:

ansible-playbook installation/install_demo.yaml

Uninstall

Use same configuration as in Installation.

IMPORTANT: Operators will not be uninstalled

Login in an OpenShift cluster and run the playbook:

ansible-playbook installation/uninstall_demo.yaml