Skip to content

Commit b4f2c25

Browse files
authored
Add extraObjects support to the knative-operator chart (#2342)
Signed-off-by: Abdullah Alaqeel <abdullah.t.aqeel@gmail.com>
1 parent 0fc378e commit b4f2c25

2 files changed

Lines changed: 14 additions & 0 deletions

File tree

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{{- range .Values.extraObjects }}
2+
---
3+
{{ tpl (toYaml .) $ }}
4+
{{- end }}

config/charts/knative-operator/values.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,3 +71,13 @@ knative_operator:
7171
cpu: 500m
7272
memory: 500Mi
7373
kubernetes_min_version: v1.25.0
74+
75+
# extraObjects renders arbitrary manifests alongside the operator, e.g. extra
76+
# RBAC or platform-specific resources such as OpenShift SCC bindings or
77+
# NetworkPolicies.
78+
extraObjects: []
79+
# extraObjects:
80+
# - apiVersion: v1
81+
# kind: ConfigMap
82+
# metadata:
83+
# name: example

0 commit comments

Comments
 (0)