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
Has anyone found a way to get the current namespace to use inside a template so we don't have to ask the user to provide it?
This is useful when creating the required resources to create a new app, and for example, the deploymentconfig needs the current namespace, where the imagestream is:
triggers:
- type: ImageChange
imageChangeParams:
automatic: true
containerNames:
- ${SERVICE_NAME}
from:
kind: ImageStreamTag
name: ${SERVICE_NAME}:latest
namespace: ${CURRENT_NAMESPACE} <<<<<< User needs to define this
A variable has to be defined for the user to fill in while using the template.
Expected Result
It would be nice if there was a $CURRENT_NAMESPACE variable that could be pre-populated by the system so we wouldn't have to ask users to enter the current namespace.
The text was updated successfully, but these errors were encountered:
Has anyone found a way to get the current namespace to use inside a template so we don't have to ask the user to provide it?
This is useful when creating the required resources to create a new app, and for example, the deploymentconfig needs the current namespace, where the imagestream is:
Version
Current Result
A variable has to be defined for the user to fill in while using the template.
Expected Result
It would be nice if there was a $CURRENT_NAMESPACE variable that could be pre-populated by the system so we wouldn't have to ask users to enter the current namespace.
The text was updated successfully, but these errors were encountered: