You need to sign in or sign up before continuing.
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
# 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.
version: 1.0.2
version: 1.1.0
# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application.
appVersion: v1.0.6
appVersion: v1.1.0
......@@ -8,11 +8,11 @@ metadata:
{{- include "telegraf-operator.labels" . | nindent 4 }}
spec:
dnsNames:
- "{{ include "telegraf-operator.fullname" . }}.{{ .Values.namespace }}.svc"
- "{{ include "telegraf-operator.fullname" . }}.{{ .Release.Namespace }}.svc"
- "{{ include "telegraf-operator.fullname" . }}.{{ .Release.Namespace }}"
isCA: true
issuerRef:
kind: Issuer
name: telegraf-operator-issuer
namespace: {{ .Release.Namespace }}
secretName: telegraf-operator-tls
{{- end -}}
......@@ -3,7 +3,7 @@ apiVersion: admissionregistration.k8s.io/v1beta1
kind: MutatingWebhookConfiguration
metadata:
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:
{{- include "telegraf-operator.labels" . | nindent 4 }}
name: {{ include "telegraf-operator.fullname" . }}
......
......@@ -2,7 +2,7 @@ replicaCount: 3
image:
repository: quay.io/influxdb/telegraf-operator
pullPolicy: IfNotPresent
sidecarImage: "docker.io/library/telegraf:1.14.1"
sidecarImage: "docker.io/library/telegraf:1.14.4"
classes:
secretName: "telegraf-operator-classes"
......@@ -37,8 +37,8 @@ securityContext: {}
# runAsUser: 1000
resources:
limits:
cpu: 100m
memory: 128Mi
cpu: 200m
memory: 256Mi
requests:
cpu: 50m
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