label all resources according to pipeline name and stage
This commit is contained in:
@@ -1,5 +1,8 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
commonLabels:
|
||||
pipelines.weave.works/name: nginx
|
||||
pipelines.weave.works/stage: "0"
|
||||
namespace: dev
|
||||
resources:
|
||||
- ../../../apps/
|
||||
|
||||
@@ -1,5 +1,8 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
commonLabels:
|
||||
pipelines.weave.works/name: nginx
|
||||
pipelines.weave.works/stage: "2"
|
||||
namespace: prod
|
||||
resources:
|
||||
- ../../../apps/
|
||||
|
||||
@@ -1,5 +1,8 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
commonLabels:
|
||||
pipelines.weave.works/name: nginx
|
||||
pipelines.weave.works/stage: "1"
|
||||
namespace: staging
|
||||
resources:
|
||||
- ../../../apps/
|
||||
|
||||
Reference in New Issue
Block a user