Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
I
influxdb
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
influxdb
Commits
90681f8c
Unverified
Commit
90681f8c
authored
Jun 16, 2021
by
Yurii Matsiuk
Committed by
GitHub
Jun 16, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[telegraf-operator] Fix deprecation warnings (#319)
Co-authored-by:
Yurii Matsiuk
<
ymatsiuk@users.noreply.github.com
>
parent
0b7a0a1c
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
11 additions
and
5 deletions
+11
-5
Chart.yaml
charts/telegraf-operator/Chart.yaml
+2
-2
_helpers.tpl
charts/telegraf-operator/templates/_helpers.tpl
+4
-1
clusterrolebinding.yml
charts/telegraf-operator/templates/clusterrolebinding.yml
+1
-1
mutatingwebhookconfiguration.yml
...egraf-operator/templates/mutatingwebhookconfiguration.yml
+4
-1
No files found.
charts/telegraf-operator/Chart.yaml
View file @
90681f8c
...
...
@@ -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.
1.5
version
:
1.
2.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.
1.1
appVersion
:
v1.
2.0
charts/telegraf-operator/templates/_helpers.tpl
View file @
90681f8c
...
...
@@ -69,7 +69,7 @@ Generate certificates for telegraf-operator mutating webhook
{{- $altNames := list ( printf "%s.%s" (include "telegraf-operator.fullname" .) .Release.Namespace ) ( printf "%s.%s.svc" (include "telegraf-operator.fullname" .) .Release.Namespace ) -}}
{{- $ca := genCA "telegraf-operator-ca" 365 -}}
{{- $cert := genSignedCert ( include "telegraf-operator.fullname" . ) nil $altNames 365 $ca -}}
apiVersion: admissionregistration.k8s.io/v1
beta1
apiVersion: admissionregistration.k8s.io/v1
kind: MutatingWebhookConfiguration
metadata:
annotations:
...
...
@@ -85,6 +85,9 @@ webhooks:
path: /mutate-v1-pod
caBundle: {{ $ca.Cert | b64enc }}
failurePolicy: Ignore
sideEffects: None
admissionReviewVersions:
- 'v1'
name: telegraf.influxdata.com
rules:
- apiGroups:
...
...
charts/telegraf-operator/templates/clusterrolebinding.yml
View file @
90681f8c
apiVersion
:
rbac.authorization.k8s.io/v1
beta1
apiVersion
:
rbac.authorization.k8s.io/v1
kind
:
ClusterRoleBinding
metadata
:
labels
:
...
...
charts/telegraf-operator/templates/mutatingwebhookconfiguration.yml
View file @
90681f8c
{{
- if eq .Values.certManager.enable true -
}}
apiVersion
:
admissionregistration.k8s.io/v1
beta1
apiVersion
:
admissionregistration.k8s.io/v1
kind
:
MutatingWebhookConfiguration
metadata
:
annotations
:
...
...
@@ -14,6 +14,9 @@ webhooks:
namespace
:
{{
.Release.Namespace
}}
path
:
/mutate-v1-pod
failurePolicy
:
Ignore
sideEffects
:
None
admissionReviewVersions
:
-
'
v1'
name
:
telegraf.influxdata.com
rules
:
-
apiGroups
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment