Skip to content

Commit

Permalink
🐛 Remove the enableAddOnDeploymentConfig value (#114)
Browse files Browse the repository at this point in the history
* Fix helm template error

Signed-off-by: zhujian <jiazhu@redhat.com>

* Remove the enableAddOnDeploymentConfig value

Signed-off-by: zhujian <jiazhu@redhat.com>

---------

Signed-off-by: zhujian <jiazhu@redhat.com>
  • Loading branch information
zhujian7 committed Jun 20, 2024
1 parent 36dc2b2 commit 43435c4
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 7 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/go-presubmit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,7 @@ jobs:
-n open-cluster-management-addon --create-namespace \
managed-serviceaccount charts/managed-serviceaccount/ \
--set tag=latest \
--set featureGates.ephemeralIdentity=true \
--set enableAddOnDeploymentConfig=true
--set featureGates.ephemeralIdentity=true
- name: Run e2e test
run: make test-e2e GENKGO_ARGS='--ginkgo.label-filter='\''!template-install'\'''

Expand Down Expand Up @@ -133,7 +132,6 @@ jobs:
managed-serviceaccount charts/managed-serviceaccount/ \
--set tag=latest \
--set featureGates.ephemeralIdentity=true \
--set enableAddOnDeploymentConfig=true \
--set hubDeployMode=AddOnTemplate \
--set targetCluster=loopback
- name: Run e2e test
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,9 @@ spec:
addOnMeta:
displayName: managed-serviceaccount
description: managed-serviceaccount
{{- if .Values.enableAddOnDeploymentConfig }}
supportedConfigs:
- group: addon.open-cluster-management.io
resource: addondeploymentconfigs
{{- end }}
{{- if eq .Values.hubDeployMode "AddOnTemplate" }}
- group: addon.open-cluster-management.io
resource: addontemplates
Expand Down
2 changes: 0 additions & 2 deletions charts/managed-serviceaccount/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ agentInstallAll: true
# Number of replicas
replicas: 1

enableAddOnDeploymentConfig: false

featureGates:
ephemeralIdentity: false

Expand Down

0 comments on commit 43435c4

Please sign in to comment.