conjurdemos / kubernetes-conjur-demo

Demo application for Conjur Kubernetes integration
11 stars 14 forks source link

Adds check for platform before checking OPENSHIFT_VERSION #127

Closed diverdane closed 3 years ago

diverdane commented 3 years ago

In the stop script, there is a check for the value of the $OPENSHIFT_VERSION without first checking that the $PLATFORM environment variable is set to "openshift". This can result in a undefined variable error for $OPENSHIFT_VERSION.

This change adds a check that $PLATFORM is set to "openshift" before checking $OPENSHIFT_VERSION value.