Skip to content

Commit

Permalink
Merge pull request #280 from cho4036/render-test-local
Browse files Browse the repository at this point in the history
support msa(kiali & jaeger) sso
  • Loading branch information
ktkfree authored Nov 14, 2023
2 parents 3752985 + 6f5fb67 commit 10cce07
Show file tree
Hide file tree
Showing 3 changed files with 631 additions and 36 deletions.
37 changes: 36 additions & 1 deletion deploy_apps/tks-remove-servicemesh-wftpl.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ spec:
value: "service-mesh"
- name: keycloak_url
value: ""
- name: organization_id
value: ""
#===============================
# For tks-info task
#===============================
Expand All @@ -26,7 +28,7 @@ spec:
value: "app={{workflow.parameters.cluster_id}}-{{workflow.parameters.app_group}}"
- name: base_repo_branch
value: "main"

# volumes:
# - name: tks-proto-vol
# configMap:
Expand All @@ -42,6 +44,39 @@ spec:
templateRef:
name: remove-servicemesh-all
template: remove-start
- - name: kiali-delete-keycloak-client
templateRef:
name: keycloak-client
template: delete-client
arguments:
parameters:
- name: server_url
value: "{{ workflow.parameters.keycloak_url }}/auth"
- name: target_realm_name
value: "{{ workflow.parameters.organization_id }}"
- name: target_client_id
value: "{{ workflow.parameters.cluster_id }}-kiali"
- name: keycloak_credential_secret_name
value: "keycloak"
- name: keycloak_credential_secret_namespace
value: "keycloak"

- - name: jaeger-delete-keycloak-client
templateRef:
name: keycloak-client
template: delete-client
arguments:
parameters:
- name: server_url
value: "{{ workflow.parameters.keycloak_url }}/auth"
- name: target_realm_name
value: "{{ workflow.parameters.organization_id }}"
- name: target_client_id
value: "{{ workflow.parameters.cluster_id }}-gatekeeper-jaeger"
- name: keycloak_credential_secret_name
value: "keycloak"
- name: keycloak_credential_secret_namespace
value: "keycloak"

#- - name: updateTksInfo
# templateRef:
Expand Down
Loading

0 comments on commit 10cce07

Please sign in to comment.