Skip to content

Commit 1889f80

Browse files
committed
WIP: change featureSet definition
Signed-off-by: Todd Short <[email protected]>
1 parent 226c850 commit 1889f80

10 files changed

+17
-22
lines changed

helm/experimental-e2e.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,5 @@ features:
1919
helmChartSupport:
2020
enabled: true
2121

22-
# This can be one of: standard, standard-e2e, experimental, or experimental-e2e
23-
featureSet: experimental-e2e
22+
# This can be one of: standard or experimental
23+
featureSet: experimental

helm/experimental.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,5 @@ features:
1414
helmChartSupport:
1515
enabled: true
1616

17-
# This can be one of: standard, standard-e2e, experimental, or experimental-e2e
17+
# This can be one of: standard or experimental
1818
featureSet: experimental
Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
{{- if .Values.components.catalogd.enabled }}
2-
{{- if or (eq .Values.featureSet "standard") (eq .Values.featureSet "standard-e2e") }}
2+
{{- if (eq .Values.featureSet "standard") }}
33
{{ tpl (.Files.Get "base/catalogd/crd/standard/olm.operatorframework.io_clustercatalogs.yaml") . }}
4-
{{- end }}
5-
{{- if or (eq .Values.featureSet "experimental") (eq .Values.featureSet "experimental-e2e") }}
4+
{{- else if (eq .Values.featureSet "experimental") }}
65
{{ tpl (.Files.Get "base/catalogd/crd/experimental/olm.operatorframework.io_clustercatalogs.yaml") . }}
76
{{- end }}
87
{{- end }}
Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
{{- if .Values.components.operatorController.enabled }}
2-
{{- if or (eq .Values.featureSet "standard") (eq .Values.featureSet "standard-e2e") }}
2+
{{- if (eq .Values.featureSet "standard") }}
33
{{ tpl (.Files.Get "base/operator-controller/crd/standard/olm.operatorframework.io_clusterextensions.yaml") . }}
4-
{{- end }}
5-
{{- if or (eq .Values.featureSet "experimental") (eq .Values.featureSet "experimental-e2e") }}
4+
{{- else if (eq .Values.featureSet "experimental") }}
65
{{ tpl (.Files.Get "base/operator-controller/crd/experimental/olm.operatorframework.io_clusterextensions.yaml") . }}
76
{{- end }}
87
{{- end }}
Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
{{- if .Values.components.catalogd.enabled }}
2-
{{- if or (eq .Values.featureSet "standard") (eq .Values.featureSet "standard-e2e") }}
2+
{{- if (eq .Values.featureSet "standard") }}
33
{{ tpl (.Files.Get "base/catalogd/rbac/standard/role.yaml") . }}
4-
{{- end }}
5-
{{- if or (eq .Values.featureSet "experimental") (eq .Values.featureSet "experimental-e2e") }}
4+
{{- else if (eq .Values.featureSet "experimental") }}
65
{{ tpl (.Files.Get "base/catalogd/rbac/experimental/role.yaml") . }}
76
{{- end }}
87
{{- end }}
Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
{{- if .Values.components.operatorController.enabled }}
2-
{{- if or (eq .Values.featureSet "standard") (eq .Values.featureSet "standard-e2e") }}
2+
{{- if (eq .Values.featureSet "standard") }}
33
{{ tpl (.Files.Get "base/operator-controller/rbac/standard/role.yaml") . }}
4-
{{- end }}
5-
{{- if or (eq .Values.featureSet "experimental") (eq .Values.featureSet "experimental-e2e") }}
4+
{{- else if (eq .Values.featureSet "experimental") }}
65
{{ tpl (.Files.Get "base/operator-controller/rbac/experimental/role.yaml") . }}
76
{{- end }}
87
{{- end }}
Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
{{- if .Values.components.catalogd.enabled }}
2-
{{- if or (eq .Values.featureSet "standard") (eq .Values.featureSet "standard-e2e") }}
2+
{{- if (eq .Values.featureSet "standard") }}
33
{{ tpl (.Files.Get "base/catalogd/webhook/standard/manifests.yaml") . }}
4-
{{- end }}
5-
{{- if or (eq .Values.featureSet "experimental") (eq .Values.featureSet "experimental-e2e") }}
4+
{{- else if (eq .Values.featureSet "experimental") }}
65
{{ tpl (.Files.Get "base/catalogd/webhook/experimental/manifests.yaml") . }}
76
{{- end }}
87
{{- end }}

helm/olmv1/templates/_helpers.tpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,5 +29,5 @@ app.kubernetes.io/part-of: olm
2929
Common annoations
3030
*/}}
3131
{{- define "olmv1.annotations" -}}
32-
olm.operatorframework.io/feature-set: {{ .Values.featureSet }}
32+
olm.operatorframework.io/feature-set: {{ .Values.featureSet -}}{{- if .Values.components.e2e.enabled -}}-e2e{{- end -}}
3333
{{- end }}

helm/olmv1/values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ features:
4949
helmChartSupport:
5050
enabled: false
5151

52-
# This can be one of: standard, standard-e2e, experimental, or experimental-e2e
52+
# This can be one of: standard or experimental
5353
featureSet: standard
5454

5555
# The set of namespaces

helm/standard-e2e.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@ components:
77
e2e:
88
enabled: true
99

10-
# This can be one of: standard, standard-e2e, experimental, or experimental-e2e
11-
featureSet: standard-e2e
10+
# This can be one of: standard or experimental
11+
featureSet: standard

0 commit comments

Comments
 (0)