triggermesh / charts

Charts for TriggerMesh Deployments
Apache License 2.0
3 stars 6 forks source link

Update chart to use webhook resources from values file #176

Open anders-elastisys opened 2 years ago

anders-elastisys commented 2 years ago

I want to install Triggermesh using the Helm chart in a Kubernetes cluster that have OPA rules that enforce resource requests on all containers. The values.yaml file contains variables for setting this, but this is not used anywhere. An easy fix is to add it to the webhook/deployment.yaml file:

      containers:
        - name: webhook
          ...
          resources:
            {{- toYaml .Values.webhook.resources | nindent 12 }}