1
0
mirror of synced 2026-02-06 19:05:55 +00:00

Rename gotk-system namespace to flux-system

Signed-off-by: Hidde Beydals <hello@hidde.co>
This commit is contained in:
Hidde Beydals
2020-10-29 14:26:22 +01:00
parent 4581c99a81
commit 9916a53761
106 changed files with 194 additions and 194 deletions

View File

@@ -1,6 +1,6 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
namespace: gotk-system
namespace: flux-system
resources:
- namespace.yaml
- ../bases/source-controller

View File

@@ -3,7 +3,7 @@ kind: LabelTransformer
metadata:
name: labels
labels:
app.kubernetes.io/instance: gotk-system
app.kubernetes.io/instance: flux-system
fieldSpecs:
- path: metadata/labels
create: true

View File

@@ -1,4 +1,4 @@
apiVersion: v1
kind: Namespace
metadata:
name: gotk-system
name: flux-system

View File

@@ -1382,8 +1382,8 @@
"allValue": null,
"current": {
"selected": false,
"text": "gotk-system",
"value": "gotk-system"
"text": "flux-system",
"value": "flux-system"
},
"datasource": "${DS_PROMETHEUS}",
"definition": "workqueue_work_duration_seconds_count",

View File

@@ -2,7 +2,7 @@ apiVersion: v1
kind: ConfigMap
metadata:
name: grafana-datasources
namespace: gotk-system
namespace: flux-system
data:
datasources.yaml: |-
apiVersion: 1

View File

@@ -1,6 +1,6 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
namespace: gotk-system
namespace: flux-system
resources:
- service.yaml
- deployment.yaml

View File

@@ -2,7 +2,7 @@ apiVersion: v1
kind: ConfigMap
metadata:
name: grafana-providers
namespace: gotk-system
namespace: flux-system
data:
providers.yaml: |+
apiVersion: 1

View File

@@ -2,7 +2,7 @@ apiVersion: v1
kind: Service
metadata:
name: grafana
namespace: gotk-system
namespace: flux-system
labels:
app: grafana
spec:

View File

@@ -1,6 +1,6 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
namespace: gotk-system
namespace: flux-system
resources:
- prometheus
- grafana

View File

@@ -2,4 +2,4 @@ apiVersion: v1
kind: ServiceAccount
metadata:
name: prometheus
namespace: gotk-system
namespace: flux-system

View File

@@ -2,7 +2,7 @@ apiVersion: apps/v1
kind: Deployment
metadata:
name: prometheus
namespace: gotk-system
namespace: flux-system
spec:
replicas: 1
selector:

View File

@@ -1,6 +1,6 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
namespace: gotk-system
namespace: flux-system
resources:
- account.yaml
- rbac.yaml

View File

@@ -1,7 +1,7 @@
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
name: prometheus-gotk-system
name: prometheus-flux-system
rules:
- apiGroups: [""]
resources:
@@ -21,12 +21,12 @@ rules:
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: prometheus-gotk-system
name: prometheus-flux-system
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: prometheus-gotk-system
name: prometheus-flux-system
subjects:
- kind: ServiceAccount
name: prometheus
namespace: gotk-system
namespace: flux-system

View File

@@ -2,7 +2,7 @@ apiVersion: v1
kind: Service
metadata:
name: prometheus
namespace: gotk-system
namespace: flux-system
spec:
selector:
app: prometheus