ACI Provider does not handle empty string secrets well #175
Labels
good first issue
Good for newcomers
help wanted
Extra attention is needed
investigate
need investigation
Projects
Environment summary
Provider (e.g. ACI, AWS Fargate, Hyper)
ACI
Version (e.g. 0.1, 0.2-beta)
Master
K8s Master Info (e.g. AKS, ACS, Bare Metal, EKS)
AKS
Install Method (e.g. Helm Chart, )
Helm Chart
###Issue Details
When I create a gitlab ci runner with an empty variable in the secrets it causes the following error
Warning ProviderCreateFailed 44s (x17 over 11m) virtual-node-aci-linux/pod-controller api call to https://management.azure.com/subscriptions//resourceGroups//providers/Microsoft.ContainerInstance/containerGroups/gitlab-managed-apps-gitlab-runner-gitlab-runner-59b4fd586d-gbtdb?api-version=2018-10-01: got HTTP response status code 400 error code "SecretValueNotSpecified": The value of secret 'runner-token' is not specified in volume 'init-runner-secrets'.
Repo Steps
In the below output you can see how the secret is stored in kubernetes
The text was updated successfully, but these errors were encountered: