Skip to content

Commit

Permalink
regenerates k8s manifests
Browse files Browse the repository at this point in the history
Signed-off-by: Weifeng Wang <[email protected]>
  • Loading branch information
qclaogui committed Jul 15, 2024
1 parent 19c72ca commit 761b35f
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 17 deletions.
4 changes: 2 additions & 2 deletions kubernetes/common/grafana/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@ namespace: monitoring-system
helmCharts:
- name: grafana
repo: https://grafana.github.io/helm-charts
version: 8.3.3
version: 8.3.4
releaseName: grafana
namespace: monitoring-system
includeCRDs: false
skipTests: true
valuesFile: values-k3d-k3s.yaml
images:
- name: docker.io/grafana/grafana
newTag: 11.0.0
newTag: 11.1.0
- name: quay.io/kiwigrid/k8s-sidecar
newTag: 1.26.1
resources:
Expand Down
22 changes: 11 additions & 11 deletions kubernetes/common/grafana/manifests/k8s-all-in-one.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ metadata:
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: grafana
app.kubernetes.io/version: 11.1.0
helm.sh/chart: grafana-8.3.3
helm.sh/chart: grafana-8.3.4
name: grafana
namespace: monitoring-system
---
Expand All @@ -24,7 +24,7 @@ metadata:
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: grafana
app.kubernetes.io/version: 11.1.0
helm.sh/chart: grafana-8.3.3
helm.sh/chart: grafana-8.3.4
name: grafana
namespace: monitoring-system
rules: []
Expand All @@ -37,7 +37,7 @@ metadata:
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: grafana
app.kubernetes.io/version: 11.1.0
helm.sh/chart: grafana-8.3.3
helm.sh/chart: grafana-8.3.4
name: grafana-clusterrole
rules:
- apiGroups:
Expand All @@ -58,7 +58,7 @@ metadata:
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: grafana
app.kubernetes.io/version: 11.1.0
helm.sh/chart: grafana-8.3.3
helm.sh/chart: grafana-8.3.4
name: grafana
namespace: monitoring-system
roleRef:
Expand All @@ -78,7 +78,7 @@ metadata:
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: grafana
app.kubernetes.io/version: 11.1.0
helm.sh/chart: grafana-8.3.3
helm.sh/chart: grafana-8.3.4
name: grafana-clusterrolebinding
roleRef:
apiGroup: rbac.authorization.k8s.io
Expand Down Expand Up @@ -157,7 +157,7 @@ metadata:
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: grafana
app.kubernetes.io/version: 11.1.0
helm.sh/chart: grafana-8.3.3
helm.sh/chart: grafana-8.3.4
name: grafana-config-dashboards
namespace: monitoring-system
---
Expand Down Expand Up @@ -4226,7 +4226,7 @@ metadata:
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: grafana
app.kubernetes.io/version: 11.1.0
helm.sh/chart: grafana-8.3.3
helm.sh/chart: grafana-8.3.4
name: grafana
namespace: monitoring-system
spec:
Expand All @@ -4248,7 +4248,7 @@ metadata:
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: grafana
app.kubernetes.io/version: 11.1.0
helm.sh/chart: grafana-8.3.3
helm.sh/chart: grafana-8.3.4
name: grafana
namespace: monitoring-system
spec:
Expand Down Expand Up @@ -4383,7 +4383,7 @@ spec:
- secretRef:
name: grafana-env
optional: true
image: docker.io/grafana/grafana:11.0.0
image: docker.io/grafana/grafana:11.1.0
imagePullPolicy: IfNotPresent
livenessProbe:
failureThreshold: 10
Expand Down Expand Up @@ -4456,7 +4456,7 @@ metadata:
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: grafana
app.kubernetes.io/version: 11.1.0
helm.sh/chart: grafana-8.3.3
helm.sh/chart: grafana-8.3.4
name: grafana
namespace: monitoring-system
spec:
Expand Down Expand Up @@ -4484,7 +4484,7 @@ metadata:
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: grafana
app.kubernetes.io/version: 11.1.0
helm.sh/chart: grafana-8.3.3
helm.sh/chart: grafana-8.3.4
name: grafana
namespace: monitoring-system
spec:
Expand Down
6 changes: 3 additions & 3 deletions kubernetes/monolithic-mode/profiles/k8s-all-in-one.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1110,7 +1110,7 @@ data:
* Profiles\n ********************************************/\nimport.file \"profiles\"
{\n\tfilename = coalesce(env(\"ALLOY_MODULES_FOLDER\"), \"/etc/alloy/modules\")
+ \"/kubernetes/profiles\"\n}\n\nprofiles.annotations_scrape \"kubernetes\" {\n\tcluster
= \"k3d-k3s-codelab\"\n\n\tforward_to = [provider.self_hosted_stack.kubernetes.profiles_receiver]\n}\n\n/********************************************\n
= coalesce(env(\"CLUSTER_NAME\"), \"k3d-k3s-codelab\")\n\n\tforward_to = [provider.self_hosted_stack.kubernetes.profiles_receiver]\n}\n\n/********************************************\n
* Metrics\n ********************************************/\nimport.file \"metrics\"
{\n\tfilename = coalesce(env(\"ALLOY_MODULES_FOLDER\"), \"/etc/alloy/modules\")
+ \"/kubernetes/metrics\"\n}\n\nmetrics.annotations_scrape \"kubernetes\" {\n\tcluster
Expand All @@ -1129,7 +1129,7 @@ data:
= [provider.self_hosted_stack.kubernetes.metrics_receiver]\n}\n"
kind: ConfigMap
metadata:
name: alloy-config-6h7tb697c9
name: alloy-config-42kch682kt
namespace: monitoring-system
---
apiVersion: v1
Expand Down Expand Up @@ -5092,7 +5092,7 @@ spec:
serviceAccountName: alloy
volumes:
- configMap:
name: alloy-config-6h7tb697c9
name: alloy-config-42kch682kt
name: config
- configMap:
name: alloy-modules-kubernetes-metrics-6g7hb9cd7g
Expand Down
2 changes: 1 addition & 1 deletion kubernetes/monolithic-mode/profiles/profiles.alloy
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import.file "profiles" {
}

profiles.annotations_scrape "kubernetes" {
cluster = "k3d-k3s-codelab"
cluster = coalesce(env("CLUSTER_NAME"), "k3d-k3s-codelab")

forward_to = [provider.self_hosted_stack.kubernetes.profiles_receiver]
}
Expand Down

0 comments on commit 761b35f

Please sign in to comment.