Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
Charts
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
魏国强
Charts
Commits
8e65fdd3
Commit
8e65fdd3
authored
Oct 13, 2020
by
Waqar Ahmed
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add support for specifying custom dns configuration
parent
b20a4f64
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
49 additions
and
0 deletions
+49
-0
charts/ix-chart/2010.0.1/questions.yaml
charts/ix-chart/2010.0.1/questions.yaml
+38
-0
charts/ix-chart/2010.0.1/templates/_networking.tpl
charts/ix-chart/2010.0.1/templates/_networking.tpl
+10
-0
charts/ix-chart/2010.0.1/templates/_workload.tpl
charts/ix-chart/2010.0.1/templates/_workload.tpl
+1
-0
No files found.
charts/ix-chart/2010.0.1/questions.yaml
View file @
8e65fdd3
...
...
@@ -236,6 +236,44 @@ questions:
cidr
:
false
required
:
true
-
variable
:
dnsPolicy
label
:
"
DNS
Policy"
description
:
"
Default
behaviour
is
where
Pod
inherits
the
name
resolution
configuration
from
the
node
that
the
pods
run
on,
if
None
is
specified,
It
allows
a
Pod
to
ignore
DNS
settings
from
the
Kubernetes
environment."
group
:
"
Networking"
schema
:
type
:
string
default
:
"
Default"
enum
:
-
"
Default"
-
"
None"
-
variable
:
dnsConfig
label
:
"
DNS
Configuration"
group
:
"
Networking"
description
:
"
Specify
custom
DNS
configuration
which
will
be
applied
to
the
pod"
schema
:
type
:
dict
attrs
:
-
variable
:
nameservers
label
:
"
Nameservers"
schema
:
default
:
[]
type
:
list
items
:
-
variable
:
nameserver
label
:
"
Nameserver"
schema
:
type
:
string
-
variable
:
searches
label
:
"
Searches"
schema
:
default
:
[]
type
:
list
items
:
-
variable
:
search
label
:
"
Search
Entry"
schema
:
type
:
string
# Storage Options
# Host path based volumes
-
variable
:
hostPathVolumes
...
...
charts/ix-chart/2010.0.1/templates/_networking.tpl
0 → 100644
View file @
8e65fdd3
{{
/*
DNS
Configuration
*/
}}
{{- define "dnsConfiguration" }}
dnsPolicy: .Values.dnsPolicy
{{- if .Values.dnsConfig }}
dnsConfig:
{{- toYaml .Values.dnsConfig | nindent 2 }}
{{- end }}
{{- end }}
charts/ix-chart/2010.0.1/templates/_workload.tpl
View file @
8e65fdd3
...
...
@@ -63,6 +63,7 @@ containers:
{{- include "containerEnvVariables" . | indent 2 }}
{{- include "containerLivenssProbe" . | indent 2 }}
{{- include "volumeConfiguration" . }}
{{- include "dnsConfiguration" . }}
{{- end }}
...
...
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