Unverified Commit eadeed1d authored by Giacomo Tirabassi's avatar Giacomo Tirabassi Committed by GitHub

fixing certificate name and configuration when using cert-manager and bumping…

fixing certificate name and configuration when using cert-manager and bumping telegraf-operator version (#114)
parent c0904994
...@@ -31,8 +31,8 @@ type: application ...@@ -31,8 +31,8 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes # This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version. # to the chart and its templates, including the app version.
version: 1.0.2 version: 1.1.0
# This is the version number of the application being deployed. This version number should be # This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. # incremented each time you make changes to the application.
appVersion: v1.0.6 appVersion: v1.1.0
...@@ -8,11 +8,11 @@ metadata: ...@@ -8,11 +8,11 @@ metadata:
{{- include "telegraf-operator.labels" . | nindent 4 }} {{- include "telegraf-operator.labels" . | nindent 4 }}
spec: spec:
dnsNames: dnsNames:
- "{{ include "telegraf-operator.fullname" . }}.{{ .Values.namespace }}.svc" - "{{ include "telegraf-operator.fullname" . }}.{{ .Release.Namespace }}.svc"
- "{{ include "telegraf-operator.fullname" . }}.{{ .Release.Namespace }}"
isCA: true isCA: true
issuerRef: issuerRef:
kind: Issuer kind: Issuer
name: telegraf-operator-issuer name: telegraf-operator-issuer
namespace: {{ .Release.Namespace }}
secretName: telegraf-operator-tls secretName: telegraf-operator-tls
{{- end -}} {{- end -}}
...@@ -3,7 +3,7 @@ apiVersion: admissionregistration.k8s.io/v1beta1 ...@@ -3,7 +3,7 @@ apiVersion: admissionregistration.k8s.io/v1beta1
kind: MutatingWebhookConfiguration kind: MutatingWebhookConfiguration
metadata: metadata:
annotations: annotations:
cert-manager.io/inject-ca-from: "{{ .Values.namespace }}/{{ include "telegraf-operator.fullname" . }}" cert-manager.io/inject-ca-from: "{{ .Release.Namespace }}/{{ include "telegraf-operator.fullname" . }}"
labels: labels:
{{- include "telegraf-operator.labels" . | nindent 4 }} {{- include "telegraf-operator.labels" . | nindent 4 }}
name: {{ include "telegraf-operator.fullname" . }} name: {{ include "telegraf-operator.fullname" . }}
......
...@@ -2,7 +2,7 @@ replicaCount: 3 ...@@ -2,7 +2,7 @@ replicaCount: 3
image: image:
repository: quay.io/influxdb/telegraf-operator repository: quay.io/influxdb/telegraf-operator
pullPolicy: IfNotPresent pullPolicy: IfNotPresent
sidecarImage: "docker.io/library/telegraf:1.14.1" sidecarImage: "docker.io/library/telegraf:1.14.4"
classes: classes:
secretName: "telegraf-operator-classes" secretName: "telegraf-operator-classes"
...@@ -37,8 +37,8 @@ securityContext: {} ...@@ -37,8 +37,8 @@ securityContext: {}
# runAsUser: 1000 # runAsUser: 1000
resources: resources:
limits: limits:
cpu: 100m cpu: 200m
memory: 128Mi memory: 256Mi
requests: requests:
cpu: 50m cpu: 50m
memory: 64Mi memory: 64Mi
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment