Skip to content

Commit 50bc379

Browse files
authored
Merge pull request #23 from timebertt/fix-config
Fix names of with-dns overlay
2 parents eea1d7e + 945abdc commit 50bc379

File tree

6 files changed

+17
-16
lines changed

6 files changed

+17
-16
lines changed

webhosting-operator/config/manager/default/kustomization.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ images:
2121
newTag: latest
2222

2323
resources:
24+
- namespace.yaml
2425
- manager.yaml
2526
- ../crds
2627
- ../rbac

webhosting-operator/config/manager/default/manager.yaml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
1-
apiVersion: v1
2-
kind: Namespace
3-
metadata:
4-
name: system
5-
---
61
apiVersion: apps/v1
72
kind: Deployment
83
metadata:
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
apiVersion: v1
2+
kind: Namespace
3+
metadata:
4+
name: system

webhosting-operator/config/manager/with-dns/kustomization.yaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,10 @@ generatorOptions:
55
disableNameSuffixHash: true
66

77
configMapGenerator:
8-
- files:
9-
- controller_manager_config.yaml
10-
name: manager-config
8+
- name: webhosting-operator
9+
namespace: webhosting-system
10+
files:
11+
- config.yaml
1112

1213
patches:
1314
- path: manager_patch.yaml
Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
apiVersion: apps/v1
22
kind: Deployment
33
metadata:
4-
name: operator
5-
namespace: system
4+
name: webhosting-operator
5+
namespace: webhosting-system
66
spec:
77
template:
88
spec:
99
containers:
1010
- name: manager
1111
args:
12-
- --config=/controller_manager_config.yaml
12+
- --config=/config.yaml
1313
volumeMounts:
14-
- name: manager-config
15-
mountPath: /controller_manager_config.yaml
16-
subPath: controller_manager_config.yaml
14+
- name: config
15+
mountPath: /config.yaml
16+
subPath: config.yaml
1717
volumes:
18-
- name: manager-config
18+
- name: config
1919
configMap:
20-
name: manager-config
20+
name: webhosting-operator

0 commit comments

Comments
 (0)