Skip to content

Commit

Permalink
Remove namespace configuration from deployment (#123)
Browse files Browse the repository at this point in the history
* Remove namespace configuration from deployment

* Add kubectl command to create namespace to readme
  • Loading branch information
ivankovnatsky committed Sep 7, 2023
1 parent f39d8dc commit 727557f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,12 @@ Head on to `deploy/` folder and apply the YAMLs in the given filename order. Do

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

Create namespace before deployment:

```console
kubectl create namespace monitoring
```

```yaml
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
Expand Down
7 changes: 0 additions & 7 deletions deploy/00-roles.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,4 @@
apiVersion: v1
kind: Namespace
metadata:
name: monitoring
labels:
pod-security.kubernetes.io/restricted: enforce
---
apiVersion: v1
kind: ServiceAccount
metadata:
namespace: monitoring
Expand Down

0 comments on commit 727557f

Please sign in to comment.