Hardcode component names.

By removing this, we reduce unecessary config options and moving parts.

Signed-off-by: Naseem <naseem@transit.app>
This commit is contained in:
Naseem 2020-03-03 21:53:23 -05:00
parent 99419c75bc
commit 5ae314bd64
No known key found for this signature in database
GPG key ID: 2002385E8036EAAE
39 changed files with 97 additions and 101 deletions

View file

@ -4,13 +4,13 @@ kind: HorizontalPodAutoscaler
metadata:
labels:
{{- include "ingress-nginx.labels" . | nindent 4 }}
app.kubernetes.io/component: {{ .Values.controller.name | quote }}
name: {{ template "ingress-nginx.controller.fullname" . }}
app.kubernetes.io/component: controller
name: {{ include "ingress-nginx.controller.fullname" . }}
spec:
scaleTargetRef:
apiVersion: {{ template "deployment.apiVersion" . }}
kind: Deployment
name: {{ template "ingress-nginx.controller.fullname" . }}
name: {{ include "ingress-nginx.controller.fullname" . }}
minReplicas: {{ .Values.controller.autoscaling.minReplicas }}
maxReplicas: {{ .Values.controller.autoscaling.maxReplicas }}
metrics: