Skip to content

Commit 3dc815c

Browse files
committed
deployments: fix FPGA plugin namespace
Signed-off-by: Mikko Ylinen <[email protected]>
1 parent eb632f6 commit 3dc815c

File tree

5 files changed

+8
-3
lines changed

5 files changed

+8
-3
lines changed

deployments/fpga_plugin/base/kustomization.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@ resources:
22
- role.yaml
33
- role_binding.yaml
44
- intel-fpga-plugin-daemonset.yaml
5+
- namespace.yaml
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
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
namespace: intelfpgaplugin-system
22
namePrefix: intelfpgaplugin-
33

4-
bases:
4+
resources:
55
- ../../base
66
- ../../../fpga_admissionwebhook/base

deployments/fpga_plugin/overlays/region/kustomization.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
namespace: intelfpgaplugin-system
22
namePrefix: intelfpgaplugin-
33

4-
bases:
4+
resources:
55
- ../../base
66
- ../../../fpga_admissionwebhook/base
77

test/e2e/utils/utils.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ func CreateKustomizationOverlay(namespace, base, overlay string) error {
126126
}
127127

128128
relPath = relPath + base[1:]
129-
content := fmt.Sprintf("namespace: %s\nbases:\n - %s", namespace, relPath)
129+
content := fmt.Sprintf("namespace: %s\nresources:\n - %s", namespace, relPath)
130130

131131
return os.WriteFile(overlay+"/kustomization.yaml", []byte(content), 0600)
132132
}

0 commit comments

Comments
 (0)