-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
robot: project kube-state-metrics chart upgrades from 4.22.* to 5.27.0
Signed-off-by: robot <[email protected]>
- Loading branch information
robot
committed
Nov 25, 2024
1 parent
85a380b
commit 227417f
Showing
19 changed files
with
805 additions
and
103 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
33 changes: 33 additions & 0 deletions
33
...e-metrics/kube-state-metrics/charts/kube-state-metrics/templates/ciliumnetworkpolicy.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
{{- if and .Values.networkPolicy.enabled (eq .Values.networkPolicy.flavor "cilium") }} | ||
apiVersion: cilium.io/v2 | ||
kind: CiliumNetworkPolicy | ||
metadata: | ||
{{- if .Values.annotations }} | ||
annotations: | ||
{{ toYaml .Values.annotations | nindent 4 }} | ||
{{- end }} | ||
labels: | ||
{{- include "kube-state-metrics.labels" . | indent 4 }} | ||
name: {{ template "kube-state-metrics.fullname" . }} | ||
namespace: {{ template "kube-state-metrics.namespace" . }} | ||
spec: | ||
endpointSelector: | ||
matchLabels: | ||
{{- include "kube-state-metrics.selectorLabels" . | indent 6 }} | ||
egress: | ||
{{- if and .Values.networkPolicy.cilium .Values.networkPolicy.cilium.kubeApiServerSelector }} | ||
{{ toYaml .Values.networkPolicy.cilium.kubeApiServerSelector | nindent 6 }} | ||
{{- else }} | ||
- toEntities: | ||
- kube-apiserver | ||
{{- end }} | ||
ingress: | ||
- toPorts: | ||
- ports: | ||
- port: {{ .Values.service.port | quote }} | ||
protocol: TCP | ||
{{- if .Values.selfMonitor.enabled }} | ||
- port: {{ .Values.selfMonitor.telemetryPort | default 8081 | quote }} | ||
protocol: TCP | ||
{{ end }} | ||
{{ end }} |
16 changes: 16 additions & 0 deletions
16
...e-state-metrics/kube-state-metrics/charts/kube-state-metrics/templates/crs-configmap.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{{- if .Values.customResourceState.enabled}} | ||
apiVersion: v1 | ||
kind: ConfigMap | ||
metadata: | ||
name: {{ template "kube-state-metrics.fullname" . }}-customresourcestate-config | ||
namespace: {{ template "kube-state-metrics.namespace" . }} | ||
labels: | ||
{{- include "kube-state-metrics.labels" . | indent 4 }} | ||
{{- if .Values.annotations }} | ||
annotations: | ||
{{ toYaml .Values.annotations | nindent 4 }} | ||
{{- end }} | ||
data: | ||
config.yaml: | | ||
{{- toYaml .Values.customResourceState.config | nindent 4 }} | ||
{{- end }} |
Oops, something went wrong.