feat: allow common.metadata to be extended

This commit is contained in:
Chi-En Wu
2020-04-17 11:19:01 +08:00
parent 2d3734c769
commit 5fb7898e1b
9 changed files with 37 additions and 22 deletions

View File

@ -3,7 +3,8 @@
{{- define "common.hpa.tpl" -}}
apiVersion: autoscaling/v2beta2
kind: HorizontalPodAutoscaler
{{ include "common.metadata" . }}
metadata:
{{ include "common.metadata" . | nindent 2 }}
spec:
scaleTargetRef:
apiVersion: apps/v1