Skip to content

Commit

Permalink
Change auth method
Browse files Browse the repository at this point in the history
  • Loading branch information
mhoshi-vm committed Dec 13, 2023
1 parent 0d5bf78 commit c4e056c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 21 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ metadata:
name: upbound-provider-aws-ecs
spec:
package: #@ data.values.crossplane.repo + "/provider-aws-ecs:" + data.values.crossplane.tag
controllerConfigRef:
name: upbound-provider-aws
---
apiVersion: pkg.crossplane.io/v1
kind: Provider
Expand All @@ -19,8 +17,6 @@ metadata:
name: upbound-provider-aws-ec2
spec:
package: #@ data.values.crossplane.repo + "/provider-aws-ec2:" + data.values.crossplane.tag
controllerConfigRef:
name: upbound-provider-aws
---
apiVersion: pkg.crossplane.io/v1
kind: Provider
Expand All @@ -30,5 +26,3 @@ metadata:
name: upbound-provider-aws-elbv2
spec:
package: #@ data.values.crossplane.repo + "/provider-aws-elbv2:" + data.values.crossplane.tag
controllerConfigRef:
name: upbound-provider-aws
Original file line number Diff line number Diff line change
Expand Up @@ -22,18 +22,6 @@ metadata:
kapp.k14s.io/change-rule: "upsert after upserting crd"
spec:
credentials:
source: IRSA
---
apiVersion: pkg.crossplane.io/v1alpha1
kind: ControllerConfig
metadata:
name: upbound-provider-aws
annotations:
eks.amazonaws.com/role-arn: #@ 'arn:aws:iam::' + data.values.aws.accountId + ':role/' + data.values.aws.roleName
spec:
podSecurityContext:
fsGroup: 2000
args:
- '--debug'
- '--poll=2m'
- '--max-reconcile-rate=10'
source: WebIdentity
webIdentity:
roleARN: #@ 'arn:aws:iam::' + data.values.aws.accountId + ':role/' + data.values.aws.roleName

0 comments on commit c4e056c

Please sign in to comment.