Skip to content

Commit

Permalink
Make RHSSO default auth type again
Browse files Browse the repository at this point in the history
  • Loading branch information
kovayur committed May 31, 2024
1 parent a0dc8e3 commit 21275d8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dp-terraform/helm/rhacs-terraform/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ fleetshardSync:
image:
repo: "quay.io/app-sre/acs-fleet-manager"
tag: "main"
# Can be either OCM, RHSSO, STATIC_TOKEN, SERVICE_ACCOUNT_TOKEN. When choosing RHSSO, make sure the clientId/secret is set. By default, uses SERVICE_ACCOUNT_TOKEN.
authType: "SERVICE_ACCOUNT_TOKEN"
# Can be either OCM, RHSSO, STATIC_TOKEN, SERVICE_ACCOUNT_TOKEN. When choosing RHSSO, make sure the clientId/secret is set. By default, uses RHSSO.
authType: "RHSSO"
# OCM refresh token, only required in combination with authType=OCM.
ocmToken: ""
fleetManagerEndpoint: ""
Expand Down
1 change: 1 addition & 0 deletions dp-terraform/test/helm_template_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ func TestHelmTemplate_FleetshardSyncDeployment_ServiceAccountTokenAuthType(t *te
SetValues: map[string]string{
"secured-cluster.enabled": "false",
"fleetshardSync.managedDB.enabled": "false",
"fleetshardSync.authType": "SERVICE_ACCOUNT_TOKEN",
},
KubectlOptions: k8s.NewKubectlOptions("", "", namespaceName),
}
Expand Down

0 comments on commit 21275d8

Please sign in to comment.