Skip to content

Commit

Permalink
fix(manifests): Fixed namespace in kustomization files (#772)
Browse files Browse the repository at this point in the history
  • Loading branch information
whynowy authored Jul 25, 2020
1 parent 022d903 commit c911103
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 2 deletions.
2 changes: 0 additions & 2 deletions manifests/base/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization

namespace: argo-events

resources:
- crds
- argo-events-sa.yaml
Expand Down
3 changes: 3 additions & 0 deletions manifests/cluster-install/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,6 @@ kind: Kustomization
resources:
- ../base
- rbac

namespace: argo-events

3 changes: 3 additions & 0 deletions manifests/namespace-install.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ apiVersion: rbac.authorization.k8s.io/v1
kind: Role
metadata:
name: argo-events-role
namespace: argo-events
rules:
- apiGroups:
- argoproj.io
Expand Down Expand Up @@ -139,13 +140,15 @@ apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
name: argo-events-role-binding
namespace: argo-events
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: Role
name: argo-events-role
subjects:
- kind: ServiceAccount
name: argo-events-sa
namespace: argo-events
---
apiVersion: apps/v1
kind: Deployment
Expand Down
2 changes: 2 additions & 0 deletions manifests/namespace-install/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ resources:
- ../base
- rbac

namespace: argo-events

patchesStrategicMerge:
- overlays/eventbus-controller-deployment.yaml
- overlays/eventsource-controller-deployment.yaml
Expand Down

0 comments on commit c911103

Please sign in to comment.