Skip to content

Commit

Permalink
feat: ✨ ajout credentials admin SonarQube + message Console
Browse files Browse the repository at this point in the history
  • Loading branch information
cedric-montagne authored and ArnaudTA committed Sep 28, 2023
1 parent ab69ffe commit 662c99e
Showing 1 changed file with 16 additions and 5 deletions.
21 changes: 16 additions & 5 deletions admin-tools/get-credentials.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -114,8 +114,6 @@
- gitlab
- argo
- argocd
- console
- console-dso

- name: Display Keycloak credentials
ansible.builtin.debug:
Expand All @@ -137,11 +135,23 @@
tags:
- nexus

- name: Get SonarQube admin password
kubernetes.core.k8s_info:
namespace: "{{ dsc.sonarqube.namespace }}"
kind: Secret
name: sonarqube
register: sonarqube_admin_creds
tags:
- sonar
- sonarqube

- name: Display Sonarqube URL and API token
ansible.builtin.debug:
msg:
- "URL: https://{{ dsc.sonarqube.subDomain }}{{ dsc.global.rootDomain }} }} "
- "API token: {{ dso_console_configmap.resources[0].data.SONAR_API_TOKEN }} "
- "Admin username: admin "
- "Admin password: {{ sonarqube_admin_creds.resources[0].data.password | b64decode }} "
tags:
- sonar
- sonarqube
Expand Down Expand Up @@ -203,7 +213,7 @@
- argo
- argocd

- name: Display Harbor URL and credentials
- name: Display Harbor URL and credentials for login with local DB
ansible.builtin.debug:
msg:
- "URL: https://{{ dsc.harbor.subDomain }}{{ dsc.global.rootDomain }}"
Expand All @@ -223,11 +233,12 @@
- console
- console-dso

- name: Display Console Pi Native URL and credentials
- name: Display Console Pi Native URL
ansible.builtin.debug:
msg:
- "URL: https://{{ console_pi_ingress.resources[0].spec.rules[0].host }} "
- "Please use personal account !"
- "Please create a personal account into Keycloak."
- "Then use it for connecting to Console Pi Native."
tags:
- console
- console-dso

0 comments on commit 662c99e

Please sign in to comment.