You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: acm/README.md
+12-2
Original file line number
Diff line number
Diff line change
@@ -2,16 +2,26 @@
2
2
3
3
This folder contains helm charts and automation to managed helm charts for the ACM components `MCE` and `policy`.
4
4
5
+
## Structure
6
+
5
7
Installation and configuration are split into two individual helm charts
6
8
7
-
## multicluster-engine
9
+
###multicluster-engine
8
10
9
11
This helm chart installs the MCE operator. The chart is autogenerated from an OLM release-bundle of MCE by running `make helm-chart`. The resulting chart is then commited into the repository.
10
12
11
13
To update MCE, change the `MCE_OPERATOR_BUNDLE_IMAGE` variable in the Makefile. If you are testing pre-releases from the `quay.io/acm-d` organization, make sure the `REGISTRY` env var in the Makefile is set to `${ARO_HCP_IMAGE_ACR}.azurecr.io/acm-d-mce`. For production releases set it to `${ARO_HCP_IMAGE_ACR}.azurecr.io` instead.
12
14
13
-
## multicluster-engine-config
15
+
###multicluster-engine-config
14
16
15
17
This helm chart configures MCE and installs the `policy` component on top of it. The subchart for `policy` is imported into this repo by running `make helm-chart`. It can be found [in the ACM upstream Github org](https://github.com/stolostron/mce-install-kube) and is maintained by the ACM team.
16
18
17
19
Updating `policy` needs to be done with care for now, since the content of the helm chart repo is not tagged. We are working on it.
20
+
21
+
## Updating charts
22
+
23
+
To update the `multicluster-engine` chart, lookup the desired install MCE OLM bundle on [https://catalog.redhat.com](https://catalog.redhat.com/software/containers/multicluster-engine/mce-operator-bundle/6160406290fb938ecf6009c6) and update the `MCE_OPERATOR_BUNDLE_IMAGE` variable in `Makefile`.
24
+
25
+
To update the `multicluster-engine-config/policy` subchart, update the `POLICY_HELM_REPO_BRANCH` variable in the `Makefile` for the desired release.
26
+
27
+
Run `make helm-chart` to update all charts. Review and commit all changes to the `deploy/helm` directory.
Copy file name to clipboardExpand all lines: acm/deploy/helm/multicluster-engine-config/charts/policy/charts/cluster-lifecycle/templates/klusterlet-addon-deployment.yaml
Copy file name to clipboardExpand all lines: acm/deploy/helm/multicluster-engine-config/charts/policy/charts/grc/templates/grc-policy-addon-controller.yaml
Copy file name to clipboardExpand all lines: acm/deploy/helm/multicluster-engine-config/charts/policy/crds/policy.open-cluster-management.io_policyautomations.yaml
+3-3
Original file line number
Diff line number
Diff line change
@@ -56,8 +56,8 @@ spec:
56
56
x-kubernetes-preserve-unknown-fields: true
57
57
jobTtl:
58
58
description: >-
59
-
JobTTL sets the time to live for the Kubernetes AnsibleJob object after the Ansible job run has
60
-
finished.
59
+
JobTTL sets the time to live for the Kubernetes Job object after the Ansible job playbook run
60
+
has finished.
61
61
type: integer
62
62
name:
63
63
description: Name of the Ansible Template to run in Ansible Automation
@@ -91,6 +91,7 @@ spec:
91
91
minimum: 0
92
92
type: integer
93
93
eventHook:
94
+
default: noncompliant
94
95
description: >-
95
96
EventHook specifies the compliance state that initiates automation. This must be set to
0 commit comments