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
The goal of adding helm configurations is to abstract out and simplify the creation of multi-resource configs. The `AWX.spec` field maps directly to the spec configs of the `AWX` resource that the operator provides, which are detailed in the [main README](https://github.com/ansible/awx-operator/blob/devel/README.md). Other sub-config can be added with the goal of simplifying more involved setups that require additional resources to be specified.
84
84
@@ -246,6 +246,28 @@ AWX:
246
246
247
247
## Values Summary
248
248
249
+
### Controller
250
+
The configuration of the `awx-operator-controller-manager` `Deployment` resource can be overridden by the
251
+
`operator-controller`field. Any fields specified under this key will map directly onto the root hierarchy of the [Deployment](https://kubernetes.io/docs/concepts/workloads/controllers/deployment/) configuration.
252
+
253
+
For example, to override the replicas of the controller deployment, use:
254
+
255
+
```yml
256
+
# values
257
+
operator-controller:
258
+
spec:
259
+
replicas: 4
260
+
```
261
+
262
+
Similarly, to add or override annotations:
263
+
```yml
264
+
#values
265
+
operator-controller:
266
+
metadata:
267
+
annotations:
268
+
my-key: my-value
269
+
```
270
+
249
271
### AWX
250
272
251
273
| Value | Description | Default |
@@ -263,12 +285,6 @@ AWX:
263
285
|---|---|---|
264
286
| `extraDeploy` | array of additional resources to be deployed (supports YAML or literal "\|") | - |
265
287
266
-
### Operator
267
-
268
-
| Value | Description | Default |
269
-
|---|---|---|
270
-
| `Operator.replicas` | Number of controller-manager instance replicas | `1` |
271
-
272
288
### customSecrets
273
289
274
290
| Value | Description | Default |
@@ -400,10 +416,6 @@ Where possible, defer to `AWX.spec` configs before applying the abstracted confi
400
416
401
417
This chart is built using the Makefile in the [awx-operator repo](https://github.com/ansible/awx-operator). Clone the repo and run `make helm-chart`. This will create the awx-operator chart in the `charts/awx-operator` directory. In this process, the contents of the `.helm/starter` directory will be added to the chart.
402
418
403
-
### Future Goals
404
-
405
-
All values under the `AWX` header are focused on configurations that use the operator. Configurations that relate to the Operator itself could be placed under an `Operator` heading, but that may add a layer of complication over current development.
406
-
407
419
## Chart Publishing
408
420
409
421
The chart is currently hosted on the gh-pages branch of the repo. During the release pipeline, the `index.yaml` stored in that branch is generated with helm chart entries from all valid tags. We are currently unable to use the `chart-releaser` pipeline due to the fact that the complete helm chart is not committed to the repo and is instead built during the release process. Therefore, the cr action is unable to compare against previous versions.
0 commit comments