|
| 1 | + |
| 2 | +Openshift Data Foundation (ODF) Operator Installation |
| 3 | +========= |
| 4 | +This playbook is used for Installation of ODF Operator and verification of successful installation. |
| 5 | + |
| 6 | + |
| 7 | +Requirements |
| 8 | +------------ |
| 9 | + |
| 10 | + - Running OCP 4.x cluster with 3 worker nodes is needed. Each worker node is expected to have a 500GB disk attached to it. |
| 11 | + - Role global-secret-update. |
| 12 | + - Create one OCP secret with name ***podman-secret*** in the default namespace which is used for global secret update and has following keys: |
| 13 | + ***username***, ***password*** and ***registry*** |
| 14 | + |
| 15 | +eg. `podman-secret` |
| 16 | +``` |
| 17 | +apiVersion: v1 |
| 18 | +kind: Secret |
| 19 | +metadata: |
| 20 | + name: podman-secret |
| 21 | +type: kubernetes.io/basic-auth |
| 22 | +stringData: |
| 23 | + username: admin |
| 24 | + password: t0p-Secret |
| 25 | + registry: example.redhat.io |
| 26 | +``` |
| 27 | + - The Local Storage operator is installed and LocalVolumeSet is created. |
| 28 | + |
| 29 | +Role Variables |
| 30 | +-------------- |
| 31 | + |
| 32 | +| Variable | Required | Default | Comments | |
| 33 | +|-----------------------------|----------|--------------------------------------------|-----------------------------------------------------| |
| 34 | +| odf_enabled |yes | False| Flag to be set to true to run this playbook | |
| 35 | +| update_channel | no | It uses default channel | It is used to set subscription channel for ODF Operator | |
| 36 | +| odf_catalogsource_image | no | It uses default redhat-operators CatalogSource | It is used to set Index-Image of ODF Operator in the CatalogSource | |
| 37 | +| test_pod_image |no | quay.io/powercloud/nginx-unprivileged:latest| Test image to be used for operator validation | |
| 38 | + |
| 39 | +#### Note: |
| 40 | + |
| 41 | +- To modify *ImageContentSourcePolicy* at playbooks\roles\ocp-odf-operator\files\ImageContentSourcePolicy.yml to change *repositoryDigestMirrors*. |
| 42 | +Default sources are given below: |
| 43 | +``` |
| 44 | + - mirrors: |
| 45 | + - brew.registry.redhat.io |
| 46 | + source: registry.redhat.io |
| 47 | + - mirrors: |
| 48 | + - brew.registry.redhat.io |
| 49 | + source: registry.stage.redhat.io |
| 50 | + - mirrors: |
| 51 | + - brew.registry.redhat.io |
| 52 | + source: registry-proxy.engineering.redhat.com |
| 53 | +``` |
| 54 | + |
| 55 | +Dependencies |
| 56 | +------------ |
| 57 | + |
| 58 | + - None |
| 59 | + |
| 60 | +Example Playbook |
| 61 | +---------------- |
| 62 | +``` |
| 63 | +--- |
| 64 | +- name: Installation of the Openshift Data Foundation Operator |
| 65 | + hosts: bastion |
| 66 | + roles: |
| 67 | + - ocp-odf-operator |
| 68 | +``` |
| 69 | +License |
| 70 | +------- |
| 71 | + |
| 72 | +See LICENCE.txt |
| 73 | + |
| 74 | +Author Information |
| 75 | +------------------ |
| 76 | + |
| 77 | + |
0 commit comments