Skip to content

Commit

Permalink
chore: Standardise to LF line endings (#332)
Browse files Browse the repository at this point in the history
  • Loading branch information
blottn authored Nov 24, 2022
1 parent 90ab653 commit 1edb5cd
Show file tree
Hide file tree
Showing 3 changed files with 46 additions and 46 deletions.
Empty file modified keda/templates/13-keda-poddisruptionbudget.yaml
100755 → 100644
Empty file.
60 changes: 30 additions & 30 deletions keda/templates/23-metrics-service.yaml
Original file line number Diff line number Diff line change
@@ -1,30 +1,30 @@
apiVersion: v1
kind: Service
metadata:
labels:
app.kubernetes.io/name: {{ .Values.operator.name }}-metrics-apiserver
{{- include "keda.labels" . | indent 4 }}
name: {{ .Values.operator.name }}-metrics-apiserver
namespace: {{ .Release.Namespace }}
annotations:
{{- range $key, $value := .Values.service.annotations }}
{{ $key }}: {{ $value | quote }}
{{- end }}
spec:
ports:
- name: https
port: {{ .Values.service.portHttps }}
targetPort: {{ .Values.service.portHttpsTarget }}
protocol: TCP
- name: http
port: {{ .Values.service.portHttp }}
targetPort: {{ .Values.service.portHttpTarget }}
protocol: TCP
{{- if .Values.prometheus.metricServer.enabled }}
- name: {{ .Values.prometheus.metricServer.portName }}
port: {{ .Values.prometheus.metricServer.port }}
targetPort: {{ .Values.prometheus.metricServer.port }}
protocol: TCP
{{- end }}
selector:
app: {{ .Values.operator.name }}-metrics-apiserver
apiVersion: v1
kind: Service
metadata:
labels:
app.kubernetes.io/name: {{ .Values.operator.name }}-metrics-apiserver
{{- include "keda.labels" . | indent 4 }}
name: {{ .Values.operator.name }}-metrics-apiserver
namespace: {{ .Release.Namespace }}
annotations:
{{- range $key, $value := .Values.service.annotations }}
{{ $key }}: {{ $value | quote }}
{{- end }}
spec:
ports:
- name: https
port: {{ .Values.service.portHttps }}
targetPort: {{ .Values.service.portHttpsTarget }}
protocol: TCP
- name: http
port: {{ .Values.service.portHttp }}
targetPort: {{ .Values.service.portHttpTarget }}
protocol: TCP
{{- if .Values.prometheus.metricServer.enabled }}
- name: {{ .Values.prometheus.metricServer.portName }}
port: {{ .Values.prometheus.metricServer.port }}
targetPort: {{ .Values.prometheus.metricServer.port }}
protocol: TCP
{{- end }}
selector:
app: {{ .Values.operator.name }}-metrics-apiserver
32 changes: 16 additions & 16 deletions keda/templates/24-metrics-apiservice.yaml
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
apiVersion: apiregistration.k8s.io/v1
kind: APIService
metadata:
labels:
app.kubernetes.io/name: v1beta1.external.metrics.k8s.io
{{- include "keda.labels" . | indent 4 }}
name: v1beta1.external.metrics.k8s.io
spec:
service:
name: {{ .Values.operator.name }}-metrics-apiserver
namespace: {{ .Release.Namespace }}
group: external.metrics.k8s.io
version: v1beta1
insecureSkipTLSVerify: true
groupPriorityMinimum: 100
versionPriority: 100
apiVersion: apiregistration.k8s.io/v1
kind: APIService
metadata:
labels:
app.kubernetes.io/name: v1beta1.external.metrics.k8s.io
{{- include "keda.labels" . | indent 4 }}
name: v1beta1.external.metrics.k8s.io
spec:
service:
name: {{ .Values.operator.name }}-metrics-apiserver
namespace: {{ .Release.Namespace }}
group: external.metrics.k8s.io
version: v1beta1
insecureSkipTLSVerify: true
groupPriorityMinimum: 100
versionPriority: 100

0 comments on commit 1edb5cd

Please sign in to comment.