The Action will make a call to oidc_url provider, using oidc_username and oidc_password as credentials, and the token from response is used to set up a kubectl context with OIDC authorization.
Required Url to get token from OIDC provider.
Required Username to OIDC provider.
Required Password to OIDC provider.
Required Cluster url.
Cluster namespace. Default value default
.
Cluster skip tls verification. Default value false
.
uses: metro-digital/oid-set-context@v0.x
with:
oidc_url: ${{ secrets.OIDC_URL }}
oidc_username: ${{ secrets.TU_ID }}
oidc_password: ${{ secrets.TU_SECRET }}
k8s_url: ${{ secrets.CLUSTER_URL }}