Skip to content

Commit 34fa15a

Browse files
committed
fixup! Add cluster config playbook to CI/CD
1 parent e2ff968 commit 34fa15a

File tree

1 file changed

+10
-13
lines changed

1 file changed

+10
-13
lines changed

docs/cluster-config.md

Lines changed: 10 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -6,19 +6,16 @@ TektonConfig. But there is also a custom EventListener which reports PipelineRun
66
events to Slack and a pipeline that uploads the metrics of other pipelines
77
for monitoring purposes. This configuration must be applied manually for now.
88

9-
To apply these cluster-wide configurations, run the Ansible playbook. To only apply
10-
the cluster-wide resources, the following command will suffice.
9+
The configuration is managed by Ansible playbooks and are automatically included
10+
in the CI/CD process in Github Actions.
11+
12+
If you want to apply the configuration to a cluster manually, you can use the
13+
following command :
1114

1215
```bash
13-
ansible-playbook \
14-
-i inventory/clusters \
15-
-e "clusters={INSERT ANSIBLE HOST LIST}" \
16-
-e "ocp_token={INSERT TOKEN}" \
17-
-e "k8s_validate_certs={yes|no}" \
18-
--vault-password-file "{INSERT FILE}" \
19-
playbooks/config-ocp-cluster.yml
20-
```
16+
# For Stage cluster
17+
make configure-stage-cluster
2118

22-
If you want to deploy the metrics pipeline, add `--tags metrics` to the above command.
23-
To deploy the Chat Webhook, add `--tags chat`. If you wish to deploy both, add
24-
`--tags metrics,chat`.
19+
# For Prod cluster
20+
make configure-prod-cluster
21+
```

0 commit comments

Comments
 (0)