Skip to content
This repository has been archived by the owner on Nov 28, 2024. It is now read-only.

Commit

Permalink
removed defined namespace entries
Browse files Browse the repository at this point in the history
  • Loading branch information
Skarlso committed May 15, 2023
1 parent 0f56cbb commit 556de7f
Show file tree
Hide file tree
Showing 8 changed files with 5 additions and 9 deletions.
2 changes: 1 addition & 1 deletion config/crd/patches/webhook_in_projects.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ spec:
webhook:
clientConfig:
service:
namespace: mpas-system

name: webhook-service
path: /convert
conversionReviewVersions:
Expand Down
2 changes: 1 addition & 1 deletion config/crd/patches/webhook_in_targets.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ spec:
webhook:
clientConfig:
service:
namespace: mpas-system

name: webhook-service
path: /convert
conversionReviewVersions:
Expand Down
2 changes: 1 addition & 1 deletion config/default/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace: ocm-system
namespace: mpas-system
resources:
- ../crd
- ../rbac
Expand Down
1 change: 0 additions & 1 deletion config/manager/manager.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ apiVersion: apps/v1
kind: Deployment
metadata:
name: mpas-project-controller
namespace: mpas-system
labels:
control-plane: mpas-project-controller-manager
app.kubernetes.io/name: deployment
Expand Down
1 change: 0 additions & 1 deletion config/rbac/leader_election_role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ metadata:
app.kubernetes.io/part-of: mpas-project-controller
app.kubernetes.io/managed-by: kustomize
name: mpas-project-leader-election-role
namespace: mpas-system
rules:
- apiGroups:
- ""
Expand Down
3 changes: 1 addition & 2 deletions config/rbac/leader_election_role_binding.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,11 @@ metadata:
app.kubernetes.io/part-of: mpas-project-controller
app.kubernetes.io/managed-by: kustomize
name: leader-election-rolebinding
namespace: mpas-system
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: Role
name: mpas-project-leader-election-role
subjects:
- kind: ServiceAccount
name: mpas-project-controller
namespace: mpas-system

2 changes: 1 addition & 1 deletion config/rbac/role_binding.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ roleRef:
subjects:
- kind: ServiceAccount
name: mpas-project-controller
namespace: mpas-system

1 change: 0 additions & 1 deletion config/rbac/service_account.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,3 @@ metadata:
app.kubernetes.io/part-of: mpas-project-controller
app.kubernetes.io/managed-by: kustomize
name: mpas-project-controller
namespace: mpas-system

0 comments on commit 556de7f

Please sign in to comment.