Skip to content

Commit 6055e0b

Browse files
authored
Merge pull request #4 from spectrocloud/namespace-fix
fixed controller manifest to capc-system
2 parents 43ebfcc + 9ac2562 commit 6055e0b

File tree

4 files changed

+10
-9
lines changed

4 files changed

+10
-9
lines changed

spectro/controller/kustomization.yaml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@
55
# field above.
66
namePrefix: capc-
77

8+
# Set namespace for all resources
9+
namespace: capc-system
10+
811
# Labels to add to all resources and selectors.
912
labels:
1013
- pairs:
@@ -13,7 +16,11 @@ labels:
1316
resources:
1417
- ../../config/manager
1518
patches:
16-
- path: manager_controller_patch.yaml
19+
- target:
20+
kind: Deployment
21+
name: controller-manager
22+
namespace: system
23+
path: manager_controller_patch.yaml
1724
- target:
1825
kind: Deployment
1926
name: controller-manager

spectro/controller/manager_controller_patch.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ apiVersion: apps/v1
22
kind: Deployment
33
metadata:
44
name: controller-manager
5-
namespace: system
65
spec:
76
template:
87
spec:

spectro/controller/namespace.yaml

Lines changed: 0 additions & 6 deletions
This file was deleted.

spectro/generated/controller-manifests.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ metadata:
1717
labels:
1818
cluster.x-k8s.io/provider: infrastructure-cloudstack
1919
name: capc-manager-config
20+
namespace: capc-system
2021
---
2122
apiVersion: apps/v1
2223
kind: Deployment
@@ -25,7 +26,7 @@ metadata:
2526
cluster.x-k8s.io/provider: infrastructure-cloudstack
2627
control-plane: capc-controller-manager
2728
name: capc-controller-manager
28-
namespace: system
29+
namespace: capc-system
2930
spec:
3031
replicas: 1
3132
selector:

0 commit comments

Comments
 (0)