Helmule MVP
Basic functionality is there, helmule can mirror helm chart with small modifications
This commit is contained in:
@ -0,0 +1,27 @@
|
||||
{{ if eq (include "resource.vpa.enabled" .) "true" }}
|
||||
apiVersion: autoscaling.k8s.io/v1
|
||||
kind: VerticalPodAutoscaler
|
||||
metadata:
|
||||
name: gitops-server
|
||||
namespace: {{ .Release.Namespace }}
|
||||
labels:
|
||||
{{- include "chart.labels" . | nindent 4 }}
|
||||
spec:
|
||||
resourcePolicy:
|
||||
containerPolicies:
|
||||
- containerName: {{ .Chart.Name }}
|
||||
controlledValues: RequestsAndLimits
|
||||
minAllowed:
|
||||
cpu: {{ .Values.giantswarm.resources.server.requests.cpu }}
|
||||
memory: {{ .Values.giantswarm.resources.server.requests.memory }}
|
||||
maxAllowed:
|
||||
cpu: 1000m
|
||||
memory: 1000Mi
|
||||
mode: Auto
|
||||
targetRef:
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
name: {{ include "chart.fullname" . }}
|
||||
updatePolicy:
|
||||
updateMode: Auto
|
||||
{{ end }}
|
Reference in New Issue
Block a user