diff --git a/charts/fairwinds/templates/fairwinds.deployment-dashboard.yaml b/charts/fairwinds/templates/fairwinds.deployment-dashboard.yaml index 2ba7f377..a40e5dea 100644 --- a/charts/fairwinds/templates/fairwinds.deployment-dashboard.yaml +++ b/charts/fairwinds/templates/fairwinds.deployment-dashboard.yaml @@ -2,6 +2,8 @@ apiVersion: extensions/v1beta1 kind: Deployment metadata: + annotations: + checksum/config: '{{ include (print $.Template.BasePath "/fairwinds.configmap.yaml") . | sha256sum }}' labels: app: '{{.Release.Name}}' chart: '{{.Chart.Name}}-{{.Chart.Version}}' diff --git a/charts/fairwinds/templates/fairwinds.deployment-webook.yaml b/charts/fairwinds/templates/fairwinds.deployment-webook.yaml index 79f92758..f124b7b5 100644 --- a/charts/fairwinds/templates/fairwinds.deployment-webook.yaml +++ b/charts/fairwinds/templates/fairwinds.deployment-webook.yaml @@ -2,6 +2,8 @@ apiVersion: extensions/v1beta1 kind: Deployment metadata: + annotations: + checksum/config: '{{ include (print $.Template.BasePath "/fairwinds.configmap.yaml") . | sha256sum }}' labels: app: '{{.Release.Name}}' chart: '{{.Chart.Name}}-{{.Chart.Version}}' diff --git a/charts/fairwinds/templates/frairwinds.configmap.yaml b/charts/fairwinds/templates/frairwinds.configmap.yaml deleted file mode 100644 index 74fe87f1..00000000 --- a/charts/fairwinds/templates/frairwinds.configmap.yaml +++ /dev/null @@ -1,15 +0,0 @@ -{{- if .Values.config -}} ---- -apiVersion: v1 -kind: ConfigMap -metadata: - labels: - app: '{{ template "fullname" . }}' - chart: '{{.Chart.Name}}-{{.Chart.Version}}' - heritage: '{{.Release.Service}}' - release: '{{.Release.Name}}' - name: '{{ template "fullname" . }}' - namespace: '{{.Release.Namespace}}' -data: - config.yml: {{- toYaml .Values.config | indent 2 -}} -{{ end }} diff --git a/charts/fairwinds/values.yaml b/charts/fairwinds/values.yaml index 2acda3f9..4f36e307 100644 --- a/charts/fairwinds/values.yaml +++ b/charts/fairwinds/values.yaml @@ -3,11 +3,9 @@ config: | resources: requests: cpu: - min: 0.1 - max: 1 + require: true memory: - min: 10m - max: 2000M + require: true limits: cpu: min: 0.1