mirror of
https://github.com/stakater/Reloader.git
synced 2026-08-19 20:16:28 +00:00
Add check for openshift
This commit is contained in:
@@ -52,6 +52,10 @@ func TestMain(m *testing.M) {
|
||||
|
||||
// Perform rolling upgrade on deploymentConfig and create env var upon updating the configmap
|
||||
func TestControllerUpdatingConfigmapShouldCreateEnvInDeploymentConfig(t *testing.T) {
|
||||
// Don't run test on non-openshift environment
|
||||
if !kube.IsOpenshift() {
|
||||
return
|
||||
}
|
||||
|
||||
// Creating configmap
|
||||
configmapName := configmapNamePrefix + "-update-" + testutil.RandSeq(5)
|
||||
|
||||
Reference in New Issue
Block a user