Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion spectro/controller/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@
# field above.
namePrefix: capc-

# Set namespace for all resources
namespace: capc-system

# Labels to add to all resources and selectors.
labels:
- pairs:
Expand All @@ -13,7 +16,11 @@ labels:
resources:
- ../../config/manager
patches:
- path: manager_controller_patch.yaml
- target:
kind: Deployment
name: controller-manager
namespace: system
path: manager_controller_patch.yaml
- target:
kind: Deployment
name: controller-manager
Expand Down
1 change: 0 additions & 1 deletion spectro/controller/manager_controller_patch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ apiVersion: apps/v1
kind: Deployment
metadata:
name: controller-manager
namespace: system
spec:
template:
spec:
Expand Down
6 changes: 0 additions & 6 deletions spectro/controller/namespace.yaml

This file was deleted.

3 changes: 2 additions & 1 deletion spectro/generated/controller-manifests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ metadata:
labels:
cluster.x-k8s.io/provider: infrastructure-cloudstack
name: capc-manager-config
namespace: capc-system
---
apiVersion: apps/v1
kind: Deployment
Expand All @@ -25,7 +26,7 @@ metadata:
cluster.x-k8s.io/provider: infrastructure-cloudstack
control-plane: capc-controller-manager
name: capc-controller-manager
namespace: system
namespace: capc-system
spec:
replicas: 1
selector:
Expand Down