Skip to content

Commit

Permalink
Merge pull request #556 from Iceber/update_kustomize
Browse files Browse the repository at this point in the history
kustomize: add namespace.yaml
  • Loading branch information
Iceber authored Aug 9, 2023
2 parents 9dd0443 + 93a454e commit b491fe7
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 12 deletions.
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
apiVersion: v1
kind: Namespace
metadata:
name: clusterpedia-system
---
apiVersion: v1
kind: ConfigMap
metadata:
name: clusterpedia-internalstorage
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,8 @@
apiVersion: v1
kind: Namespace
metadata:
name: clusterpedia-system-0110
---
apiVersion: v1
kind: ConfigMap
metadata:
name: clusterpedia-internalstorage
namespace: clusterpedia-system-0110
namespace: clusterpedia-system
data:
internalstorage-config.yaml: |
type: "postgres"
Expand Down
3 changes: 2 additions & 1 deletion kustomize/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@ apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization

resources:
- ./namespace.yaml
- ./crds
- ./apiserver
- ./clustersynchro-manager
- ./controller-manager
- ./crds
- ./internalstorage/postgres
4 changes: 4 additions & 0 deletions kustomize/namespace.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
apiVersion: v1
kind: Namespace
metadata:
name: clusterpedia-system

0 comments on commit b491fe7

Please sign in to comment.