Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
k3s
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
0
Merge Requests
0
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
k3s
Commits
8d5ddd6d
Unverified
Commit
8d5ddd6d
authored
Nov 08, 2018
by
k8s-ci-robot
Committed by
GitHub
Nov 08, 2018
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #70780 from saad-ali/fixCSICRD
Fix CSI CRD installation for Alpha clusters
parents
b3a160d0
4a4176db
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
13 deletions
+5
-13
config-default.sh
cluster/gce/config-default.sh
+4
-12
configure-helper.sh
cluster/gce/gci/configure-helper.sh
+1
-1
No files found.
cluster/gce/config-default.sh
View file @
8d5ddd6d
...
@@ -246,6 +246,10 @@ fi
...
@@ -246,6 +246,10 @@ fi
# Optional: customize runtime config
# Optional: customize runtime config
RUNTIME_CONFIG
=
"
${
KUBE_RUNTIME_CONFIG
:-}
"
RUNTIME_CONFIG
=
"
${
KUBE_RUNTIME_CONFIG
:-}
"
if
[[
"
${
KUBE_FEATURE_GATES
:-}
"
==
"AllAlpha=true"
]]
;
then
RUNTIME_CONFIG
=
"
${
KUBE_RUNTIME_CONFIG
:-
api
/all=true
}
"
fi
# Optional: set feature gates
# Optional: set feature gates
FEATURE_GATES
=
"
${
KUBE_FEATURE_GATES
:-
ExperimentalCriticalPodAnnotation
=true
}
"
FEATURE_GATES
=
"
${
KUBE_FEATURE_GATES
:-
ExperimentalCriticalPodAnnotation
=true
}
"
...
@@ -256,18 +260,6 @@ if [[ ! -z "${NODE_ACCELERATORS}" ]]; then
...
@@ -256,18 +260,6 @@ if [[ ! -z "${NODE_ACCELERATORS}" ]]; then
fi
fi
fi
fi
if
[[
"
${
KUBE_FEATURE_GATES
:-}
"
==
"AllAlpha=true"
]]
;
then
RUNTIME_CONFIG
=
"
${
KUBE_RUNTIME_CONFIG
:-
api
/all=true
}
"
if
!
[[
"
${
KUBE_FEATURE_GATES
:-}
"
=
~
"CSIDriverRegistry"
]]
;
then
# If not explicitly specified, default to true.
FEATURE_GATES
=
"
${
FEATURE_GATES
}
,CSIDriverRegistry=true"
fi
if
!
[[
"
${
KUBE_FEATURE_GATES
:-}
"
=
~
"CSINodeInfo"
]]
;
then
# If not explicitly specified, default to true.
FEATURE_GATES
=
"
${
FEATURE_GATES
}
,CSINodeInfo=true"
fi
fi
# Optional: Install cluster DNS.
# Optional: Install cluster DNS.
# Set CLUSTER_DNS_CORE_DNS to 'false' to install kube-dns instead of CoreDNS.
# Set CLUSTER_DNS_CORE_DNS to 'false' to install kube-dns instead of CoreDNS.
CLUSTER_DNS_CORE_DNS
=
"
${
CLUSTER_DNS_CORE_DNS
:-
true
}
"
CLUSTER_DNS_CORE_DNS
=
"
${
CLUSTER_DNS_CORE_DNS
:-
true
}
"
...
...
cluster/gce/gci/configure-helper.sh
View file @
8d5ddd6d
...
@@ -2574,7 +2574,7 @@ EOF
...
@@ -2574,7 +2574,7 @@ EOF
if
[[
"
${
ENABLE_DEFAULT_STORAGE_CLASS
:-}
"
==
"true"
]]
;
then
if
[[
"
${
ENABLE_DEFAULT_STORAGE_CLASS
:-}
"
==
"true"
]]
;
then
setup-addon-manifests
"addons"
"storage-class/gce"
setup-addon-manifests
"addons"
"storage-class/gce"
fi
fi
if
[[
"
${
FEATURE_GATES
:-}
"
=
~
"CSIDriverRegistry=true"
||
"
${
FEATURE_GATES
:-}
"
=
~
"CSINodeInfo=true"
]]
;
then
if
[[
"
${
FEATURE_GATES
:-}
"
=
~
"
AllAlpha=true"
||
"
${
FEATURE_GATES
:-}
"
=
~
"
CSIDriverRegistry=true"
||
"
${
FEATURE_GATES
:-}
"
=
~
"CSINodeInfo=true"
]]
;
then
setup-addon-manifests
"addons"
"storage-crds"
setup-addon-manifests
"addons"
"storage-crds"
fi
fi
if
[[
"
${
ENABLE_IP_MASQ_AGENT
:-}
"
==
"true"
]]
;
then
if
[[
"
${
ENABLE_IP_MASQ_AGENT
:-}
"
==
"true"
]]
;
then
...
...
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