Skip to content

Commit

Permalink
feat(cilium): fix ns
Browse files Browse the repository at this point in the history
  • Loading branch information
incubator4 committed Jan 1, 2024
1 parent 8d6a89c commit 99b386b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 10 deletions.
14 changes: 5 additions & 9 deletions cilium/prod/hubble.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ apiVersion: v1
kind: ServiceAccount
metadata:
name: hubble-ui
namespace: hubble-ui
---
kind: ClusterRole
apiVersion: rbac.authorization.k8s.io/v1
Expand Down Expand Up @@ -62,13 +61,12 @@ roleRef:
subjects:
- kind: ServiceAccount
name: hubble-ui
namespace: hubble-ui
namespace: kube-system
---
apiVersion: v1
kind: ConfigMap
metadata:
name: hubble-ui-nginx
namespace: hubble-ui
data:
nginx.conf: |
server {
Expand Down Expand Up @@ -109,11 +107,10 @@ kind: Deployment
apiVersion: apps/v1
metadata:
name: hubble-ui
namespace: hubble-ui
labels:
k8s-app: hubble-ui
app.kubernetes.io/name: hubble-ui
app.kubernetes.io/part-of: cilium
labels:
k8s-app: hubble-ui
app.kubernetes.io/name: hubble-ui
app.kubernetes.io/part-of: cilium
spec:
replicas: 1
selector:
Expand Down Expand Up @@ -212,7 +209,6 @@ kind: Service
apiVersion: v1
metadata:
name: hubble-ui
namespace: hubble-ui
labels:
k8s-app: hubble-ui
app.kubernetes.io/name: hubble-ui
Expand Down
4 changes: 3 additions & 1 deletion cilium/prod/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,6 @@ apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization

resources:
- hubble.yaml
- hubble.yaml

namespace: kube-system

0 comments on commit 99b386b

Please sign in to comment.