Skip to content

Commit

Permalink
Merge pull request #352 from cho4036/develop
Browse files Browse the repository at this point in the history
bugfix. fix wrong parameter
  • Loading branch information
ktkfree authored Apr 16, 2024
2 parents 7037ccc + 46809d6 commit 930c0d7
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion tks-cluster/aws-eks-keycloak-oidc-provider.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,11 @@ spec:

templates:
- name: createProvider
inputs:
parameters:
- name: contract_id
- name: cluster_id
- name: keycloak_url
activeDeadlineSeconds: 1800
container:
image: harbor.taco-cat.xyz/tks/tks-aws:v1.1.0
Expand All @@ -47,10 +52,11 @@ spec:
usernameClaim: preferred_username
groupsClaim: groups
EOF
cat oidc-config.yaml
eksctl associate identityprovider -f oidc-config.yaml
env:
- name: CLUSTER_ID
value: "{{workflow.parameters.cluster_id}}"
value: "{{ inputs.parameters.cluster_id }}"
- name: KEYCLOAK_URL
value: "{{ inputs.parameters.keycloak_url }}"
- name: CONTRACT_ID
Expand Down

0 comments on commit 930c0d7

Please sign in to comment.