ansible-devops
ansible-devops copied to clipboard
Switch Prometheus SA token creation from oc cli to ansible module
In order not to use the 'oc cli'. We switch the creation of the token of the prometheus service account via the creation of a dedicated secret and we retrieve it via the ansible k8s_info module.
Since Openshit 4.16, the creation of an SA no longer automatically generates a token. So we have to create it.