Skip to content

Commit 99c9c76

Browse files
committed
WIP: Update values locations; add build of tilt
Signed-off-by: Todd Short <[email protected]>
1 parent 5741cee commit 99c9c76

File tree

46 files changed

+101
-102
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

46 files changed

+101
-102
lines changed

Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,7 @@ manifests: $(CONTROLLER_GEN) $(HELM) #EXHELP Generate WebhookConfiguration, Clus
157157
$(HELM) template olmv1 helm/olmv1 --values helm/cert-manager.yaml --values helm/e2e.yaml > $(STANDARD_E2E_MANIFEST)
158158
$(HELM) template olmv1 helm/olmv1 --values helm/cert-manager.yaml --values helm/experimental.yaml > $(EXPERIMENTAL_MANIFEST)
159159
$(HELM) template olmv1 helm/olmv1 --values helm/cert-manager.yaml --values helm/experimental.yaml --values helm/e2e.yaml > $(EXPERIMENTAL_E2E_MANIFEST)
160+
$(HELM) template olmv1 helm/olmv1 --values helm/tilt.yaml > /dev/null
160161

161162
.PHONY: generate
162163
generate: $(CONTROLLER_GEN) #EXHELP Generate code containing DeepCopy, DeepCopyInto, and DeepCopyObject method implementations.

helm/cert-manager.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@
33
# Declare variables to be passed into your templates.
44

55
# List of components to include
6-
components:
6+
options:
77
certManager:
88
enabled: true

helm/e2e.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@
33
# Declare variables to be passed into your templates.
44

55
# List of components to include
6-
components:
6+
options:
77
e2e:
88
enabled: true

helm/experimental.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,5 @@ catalogdFeatures:
1818
- APIV1MetasHandler
1919

2020
# This can be one of: standard or experimental
21-
featureSet: experimental
21+
options:
22+
featureSet: experimental
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
{{- if .Values.components.catalogd.enabled }}
2-
{{- if (eq .Values.featureSet "standard") }}
1+
{{- if .Values.options.catalogd.enabled }}
2+
{{- if (eq .Values.options.featureSet "standard") }}
33
{{ tpl (.Files.Get "base/catalogd/crd/standard/olm.operatorframework.io_clustercatalogs.yaml") . }}
4-
{{- else if (eq .Values.featureSet "experimental") }}
4+
{{- else if (eq .Values.options.featureSet "experimental") }}
55
{{ tpl (.Files.Get "base/catalogd/crd/experimental/olm.operatorframework.io_clustercatalogs.yaml") . }}
66
{{- end }}
77
{{- end }}
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
{{- if .Values.components.operatorController.enabled }}
2-
{{- if (eq .Values.featureSet "standard") }}
1+
{{- if .Values.options.operatorController.enabled }}
2+
{{- if (eq .Values.options.featureSet "standard") }}
33
{{ tpl (.Files.Get "base/operator-controller/crd/standard/olm.operatorframework.io_clusterextensions.yaml") . }}
4-
{{- else if (eq .Values.featureSet "experimental") }}
4+
{{- else if (eq .Values.options.featureSet "experimental") }}
55
{{ tpl (.Files.Get "base/operator-controller/crd/experimental/olm.operatorframework.io_clusterextensions.yaml") . }}
66
{{- end }}
77
{{- end }}

helm/olmv1/templates/03-serviceaccount-olmv1-system-catalogd-controller-manager.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{{- if .Values.components.catalogd.enabled }}
1+
{{- if .Values.options.catalogd.enabled }}
22
apiVersion: v1
33
kind: ServiceAccount
44
metadata:

helm/olmv1/templates/04-serviceaccount-olmv1-system-operator-controller-controller-manager.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{{- if .Values.components.operatorController.enabled }}
1+
{{- if .Values.options.operatorController.enabled }}
22
apiVersion: v1
33
kind: ServiceAccount
44
metadata:

helm/olmv1/templates/05-role-olmv1-system-catalogd-leader-election-role.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{{- if .Values.components.catalogd.enabled }}
1+
{{- if .Values.options.catalogd.enabled }}
22
{{/* Probably want to include this as a file somehow */}}
33
apiVersion: rbac.authorization.k8s.io/v1
44
kind: Role

helm/olmv1/templates/06-role-olmv1-system-catalogd-manager-role.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{{- if .Values.components.catalogd.enabled }}
1+
{{- if .Values.options.catalogd.enabled }}
22
apiVersion: rbac.authorization.k8s.io/v1
33
kind: Role
44
metadata:

0 commit comments

Comments
 (0)