You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
'Deploy to production' step should fail if KUBECONFIG_FOR_PROD secret is not set for the repository.
Actual behavior
'Deploy to production' step uses secrets.KUBECONFIG_FOR_STAGE if KUBECONFIG_FOR_PROD is not set. web-production namespace is created in the stage cluster.
Possible ways to fix
Additional option kube-context to use specified context from kube-config.
Add cleanup to remove created kube-config at workflow finish.
The text was updated successfully, but these errors were encountered:
Overview
I've got these steps:
Non-relevant envs and options are omitted.
Expected behavior
'Deploy to production' step should fail if
KUBECONFIG_FOR_PROD
secret is not set for the repository.Actual behavior
'Deploy to production' step uses
secrets.KUBECONFIG_FOR_STAGE
ifKUBECONFIG_FOR_PROD
is not set.web-production
namespace is created in the stage cluster.Possible ways to fix
kube-context
to use specified context from kube-config.The text was updated successfully, but these errors were encountered: