fix(work): missing namespaces for cluster and service
This commit is contained in:
parent
c3ea681f33
commit
d2abab38f1
5 changed files with 11 additions and 1 deletions
|
|
@ -1,6 +1,5 @@
|
|||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
namespace: work-rabbitmq-cluster
|
||||
resources:
|
||||
- ./rabbitmq.yaml
|
||||
- ./pod-disruption-budget.yaml
|
||||
|
|
|
|||
|
|
@ -1,7 +1,9 @@
|
|||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
namespace: work-rabbitmq-cluster
|
||||
resources:
|
||||
- ../../base
|
||||
- ./namespace.yaml
|
||||
|
||||
patches:
|
||||
- path: rabbitmq.patch.yaml
|
||||
|
|
|
|||
4
apps/rabbitmq-cluster/overlays/work/namespace.yaml
Normal file
4
apps/rabbitmq-cluster/overlays/work/namespace.yaml
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
apiVersion: v1
|
||||
kind: Namespace
|
||||
metadata:
|
||||
name: work-rabbitmq-cluster
|
||||
|
|
@ -3,3 +3,4 @@ kind: Kustomization
|
|||
namespace: work-rabbitmq-service
|
||||
resources:
|
||||
- ../../base
|
||||
- ./namespace.yaml
|
||||
|
|
|
|||
4
apps/rabbitmq-service/overlays/work/namespace.yaml
Normal file
4
apps/rabbitmq-service/overlays/work/namespace.yaml
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
apiVersion: v1
|
||||
kind: Namespace
|
||||
metadata:
|
||||
name: work-rabbitmq-service
|
||||
Loading…
Add table
Add a link
Reference in a new issue