Skip to content
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

231117 main to develop back merge #331

Merged
merged 16 commits into from
Nov 17, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion app_serving/delete-java-app.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,8 @@ spec:

# Delete preview svc and namespace
kubectl delete service --all -n {{workflow.parameters.namespace}} 2> >(tee -a $DELETE_LOG >&2) || true
kubectl delete ns {{workflow.parameters.namespace}} || true
## Do not delete ns for now
# kubectl delete ns {{workflow.parameters.namespace}} || true

echo "App {{workflow.parameters.app_name}} was deleted successfully." | tee -a $DELETE_LOG

Expand Down
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
Loading