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
7443f364
Unverified
Commit
7443f364
authored
Sep 04, 2020
by
Dominik Rosiek
Committed by
GitHub
Sep 04, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use fullname template for certificate name (#168)
parent
31885898
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
Chart.yaml
charts/telegraf-operator/Chart.yaml
+1
-1
_helpers.tpl
charts/telegraf-operator/templates/_helpers.tpl
+2
-2
No files found.
charts/telegraf-operator/Chart.yaml
View file @
7443f364
...
...
@@ -31,7 +31,7 @@ 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.
0
version
:
1.1.
1
# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application.
...
...
charts/telegraf-operator/templates/_helpers.tpl
View file @
7443f364
...
...
@@ -66,9 +66,9 @@ Create the name of the service account to use
Generate
certificates
for
telegraf
-
operator
mutating
webhook
*/
}
}
{{- define "telegraf-operator.non_certmanager" -}}
{{- $altNames := list ( printf "%s.%s" (include "telegraf-operator.
name" .) .Release.Namespace ) ( printf "%s.%s.svc" (include "telegraf-operator.
name" .) .Release.Namespace ) -}}
{{- $altNames := list ( printf "%s.%s" (include "telegraf-operator.
fullname" .) .Release.Namespace ) ( printf "%s.%s.svc" (include "telegraf-operator.full
name" .) .Release.Namespace ) -}}
{{- $ca := genCA "telegraf-operator-ca" 365 -}}
{{- $cert := genSignedCert ( include "telegraf-operator.name" . ) nil $altNames 365 $ca -}}
{{- $cert := genSignedCert ( include "telegraf-operator.
full
name" . ) nil $altNames 365 $ca -}}
apiVersion: admissionregistration.k8s.io/v1beta1
kind: MutatingWebhookConfiguration
metadata:
...
...
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