Unverified Commit bcadf3d7 authored by Wojciech Kocjan's avatar Wojciech Kocjan Committed by GitHub

Update telegraf-operator to 1.3.6 (#454)

parent 95ab8820
...@@ -30,8 +30,8 @@ type: application ...@@ -30,8 +30,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.3.5 version: 1.3.6
# 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.3.5 appVersion: v1.3.6
{{- if .Values.certManager.enable -}} {{- if .Values.certManager.enable -}}
apiVersion: cert-manager.io/v1alpha2 apiVersion: cert-manager.io/v1
kind: Certificate kind: Certificate
metadata: metadata:
name: {{ include "telegraf-operator.fullname" . }} name: {{ include "telegraf-operator.fullname" . }}
......
...@@ -11,3 +11,13 @@ rules: ...@@ -11,3 +11,13 @@ rules:
- secrets - secrets
verbs: verbs:
- '*' - '*'
- apiGroups:
- ""
resources:
- namespaces
verbs: ["get", "list"]
- apiGroups:
- ""
resources:
- pods
verbs: ["get"]
{{- if .Values.certManager.enable -}} {{- if .Values.certManager.enable -}}
apiVersion: cert-manager.io/v1alpha2 apiVersion: cert-manager.io/v1
kind: Issuer kind: Issuer
metadata: metadata:
name: telegraf-operator-issuer name: telegraf-operator-issuer
......
{{- if .Capabilities.APIVersions.Has "policy/v1" }}
apiVersion: policy/v1
{{- else }}
apiVersion: policy/v1beta1 apiVersion: policy/v1beta1
{{- end }}
kind: PodDisruptionBudget kind: PodDisruptionBudget
metadata: metadata:
name: {{ include "telegraf-operator.fullname" . }} name: {{ include "telegraf-operator.fullname" . }}
...@@ -9,4 +13,4 @@ spec: ...@@ -9,4 +13,4 @@ spec:
minAvailable: 1 minAvailable: 1
selector: selector:
matchLabels: matchLabels:
{{- include "telegraf-operator.labels" . | nindent 6 }} {{- include "telegraf-operator.selectorLabels" . | nindent 6 }}
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