Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
1105 Внедрение механизмов обеспечения безопасности цепочки поставки программных проектов
Legacy
scanned-projects
helm
Commits
14841258
Unverified
Commit
14841258
authored
5 years ago
by
Matthew Fisher
Committed by
GitHub
5 years ago
Browse files
Options
Download
Plain Diff
Merge pull request #6590 from hickeyma/refactor-chart-create
Update Ingress API group in scaffold chart
parents
024f168b
146f4315
release-2.17
dev-v2
release-2.15
release-2.16
v2.17.0
v2.17.0-rc.1
v2.16.12
v2.16.11
v2.16.10
v2.16.9
v2.16.8
v2.16.7
v2.16.6
v2.16.5
v2.16.4
v2.16.3
v2.16.2
v2.16.1
v2.16.0
v2.16.0-rc.2
v2.16.0-rc.1
v2.15.2
v2.15.1
v2.15.0
v2.15.0-rc.2
v2.15.0-rc.1
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
pkg/chartutil/create.go
+4
-0
pkg/chartutil/create.go
with
4 additions
and
0 deletions
+4
-0
pkg/chartutil/create.go
+
4
−
0
View file @
14841258
...
@@ -151,7 +151,11 @@ const defaultIgnore = `# Patterns to ignore when building packages.
...
@@ -151,7 +151,11 @@ const defaultIgnore = `# Patterns to ignore when building packages.
const
defaultIngress
=
`{{- if .Values.ingress.enabled -}}
const
defaultIngress
=
`{{- if .Values.ingress.enabled -}}
{{- $fullName := include "<CHARTNAME>.fullname" . -}}
{{- $fullName := include "<CHARTNAME>.fullname" . -}}
{{- $svcPort := .Values.service.port -}}
{{- $svcPort := .Values.service.port -}}
{{- if semverCompare ">=1.14-0" .Capabilities.KubeVersion.GitVersion -}}
apiVersion: networking.k8s.io/v1beta1
{{- else -}}
apiVersion: extensions/v1beta1
apiVersion: extensions/v1beta1
{{- end }}
kind: Ingress
kind: Ingress
metadata:
metadata:
name: {{ $fullName }}
name: {{ $fullName }}
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Topics
Snippets