Skip to content

Commit 727557f

Browse files
Remove namespace configuration from deployment (#123)
* Remove namespace configuration from deployment * Add kubectl command to create namespace to readme
1 parent f39d8dc commit 727557f

File tree

2 files changed

+6
-7
lines changed

2 files changed

+6
-7
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,12 @@ Head on to `deploy/` folder and apply the YAMLs in the given filename order. Do
1717

1818
Deploy with Kustomize by Git ref (i.e., commit sha, tag, or branch).
1919

20+
Create namespace before deployment:
21+
22+
```console
23+
kubectl create namespace monitoring
24+
```
25+
2026
```yaml
2127
apiVersion: kustomize.config.k8s.io/v1beta1
2228
kind: Kustomization

deploy/00-roles.yaml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,4 @@
11
apiVersion: v1
2-
kind: Namespace
3-
metadata:
4-
name: monitoring
5-
labels:
6-
pod-security.kubernetes.io/restricted: enforce
7-
---
8-
apiVersion: v1
92
kind: ServiceAccount
103
metadata:
114
namespace: monitoring

0 commit comments

Comments
 (0)