012aaadacc
A new release is added to the cluster: Name: metrics-server Namespace: kube-system Version: 3.11.0 Chart: metrics-server/metrics-server
26 lines
711 B
YAML
26 lines
711 B
YAML
{{- if .Values.apiService.create -}}
|
|
apiVersion: apiregistration.k8s.io/v1
|
|
kind: APIService
|
|
metadata:
|
|
name: v1beta1.metrics.k8s.io
|
|
labels:
|
|
{{- include "metrics-server.labels" . | nindent 4 }}
|
|
{{- with .Values.apiService.annotations }}
|
|
annotations:
|
|
{{- toYaml . | nindent 4 }}
|
|
{{- end }}
|
|
spec:
|
|
{{- with .Values.apiService.caBundle }}
|
|
caBundle: {{ b64enc . }}
|
|
{{- end }}
|
|
group: metrics.k8s.io
|
|
groupPriorityMinimum: 100
|
|
insecureSkipTLSVerify: {{ .Values.apiService.insecureSkipTLSVerify }}
|
|
service:
|
|
name: {{ include "metrics-server.fullname" . }}
|
|
namespace: {{ .Release.Namespace }}
|
|
port: {{ .Values.service.port }}
|
|
version: v1beta1
|
|
versionPriority: 100
|
|
{{- end -}}
|