-
Notifications
You must be signed in to change notification settings - Fork 2
Adding application add app test #1578
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
c3a629a
to
176a2af
Compare
42fd958
to
0d35007
Compare
0d35007
to
3bd4864
Compare
helmArgs+=( --set "policy-agent.accountId=weaveworks" ) | ||
helmArgs+=( --set "policy-agent.clusterId=${MANAGEMENT_CLUSTER_CNAME}" ) | ||
helmArgs+=( --set "policy-agent.config.accountId=weaveworks" ) | ||
helmArgs+=( --set "policy-agent.config.clusterId=${MANAGEMENT_CLUSTER_CNAME}" ) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🎉
@@ -148,7 +152,8 @@ function setup { | |||
helmArgs+=( --set "config.git.type=${GIT_PROVIDER}" ) | |||
helmArgs+=( --set "config.git.hostname=${GIT_PROVIDER_HOSTNAME}" ) | |||
helmArgs+=( --set "config.capi.repositoryURL=${GIT_REPOSITORY_URL}" ) | |||
helmArgs+=( --set "config.capi.repositoryPath=./clusters/my-cluster/clusters" ) | |||
# using default repository path '"./clusters/management/clusters"' so the application reconciliation always happen out of the box | |||
# helmArgs+=( --set "config.capi.repositoryPath=./clusters/my-cluster/clusters" ) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
#1475 😬 , will look into it..
@@ -70,7 +70,7 @@ function setup_eks { | |||
--exec-arg=--oidc-issuer-url=${OIDC_ISSUER_URL} \ | |||
--exec-arg=--oidc-client-id=${DEX_CLI_CLIENT_ID} \ | |||
--exec-arg=--oidc-client-secret=${DEX_CLI_CLIENT_SECRET} \ | |||
--exec-arg=--oidc-extra-scope="openid email offline_access" \ | |||
--exec-arg=--oidc-extra-scope="openid email groups offline_access" \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we have to provide this explicitly?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, we to explicitly specify the claim in kubeconfig, otherwise groups can't be authenticated.
@@ -1,4 +1,4 @@ | |||
apiVersion: pac.weave.works/v1 | |||
apiVersion: pac.weave.works/v2beta1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🙏
@@ -11,6 +11,6 @@ identityProviders: | |||
issuerUrl: "{{ISSUER_URL}}" | |||
clientId: "{{CLIENT_ID}}" | |||
usernameClaim: email | |||
usernamePrefix: "-" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah this was the trick to AWS OIDC don't need it anymore?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💯
Closes #1524
What changed?
Why was this change made?
Acceptance test coverage for add kustomization feature.