I want to add new label to each new deployment in openshift automatically.
Ex: Add label call appid to all new deployments in openshift cluster.
I think i should use "postStart" lifecycle.
You can configure the labels in the openshift template.
apiVersion: apps.openshift.io/v1
kind: DeploymentConfig
metadata:
labels:
app: ${APP_LABEL}
appid: ${APP_ID}
name: ${APP_LABEL}