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
eb41c9c5
Unverified
Commit
eb41c9c5
authored
May 03, 2019
by
Kubernetes Prow Robot
Committed by
GitHub
May 03, 2019
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #77369 from immutableT/remove-enc-from-kube-up
Remove the option of encrypting secrets in etcd via a locally stored key.
parents
5f6d9b61
1ae9cb2f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
20 deletions
+0
-20
config-default.sh
cluster/gce/config-default.sh
+0
-19
util.sh
cluster/gce/util.sh
+0
-1
No files found.
cluster/gce/config-default.sh
View file @
eb41c9c5
...
...
@@ -218,25 +218,6 @@ if [[ ${ENABLE_METADATA_CONCEALMENT:-} == "true" ]]; then
PROVIDER_VARS
=
"
${
PROVIDER_VARS
:-}
ENABLE_METADATA_CONCEALMENT METADATA_CONCEALMENT_NO_FIREWALL"
fi
# Enable AESGCM encryption of secrets by default.
ENCRYPTION_PROVIDER_CONFIG
=
"
${
ENCRYPTION_PROVIDER_CONFIG
:-}
"
if
[[
-z
"
${
ENCRYPTION_PROVIDER_CONFIG
}
"
]]
;
then
ENCRYPTION_PROVIDER_CONFIG
=
$(
cat
<<
EOM
| base64 | tr -d '\r\n'
kind: EncryptionConfiguration
apiVersion: apiserver.config.k8s.io/v1
resources:
- resources:
- secrets
providers:
- aesgcm:
keys:
- name: key1
secret:
$(
dd
if
=
/dev/urandom
iflag
=
fullblock
bs
=
32
count
=
1 2>/dev/null |
base64
|
tr
-d
'\r\n'
)
EOM
)
fi
# Optional: Enable node logging.
ENABLE_NODE_LOGGING
=
"
${
KUBE_ENABLE_NODE_LOGGING
:-
true
}
"
LOGGING_DESTINATION
=
"
${
KUBE_LOGGING_DESTINATION
:-
gcp
}
"
# options: elasticsearch, gcp
...
...
cluster/gce/util.sh
View file @
eb41c9c5
...
...
@@ -1283,7 +1283,6 @@ ETCD_CA_KEY: $(yaml-quote ${ETCD_CA_KEY_BASE64:-})
ETCD_CA_CERT:
$(
yaml-quote
${
ETCD_CA_CERT_BASE64
:-})
ETCD_PEER_KEY:
$(
yaml-quote
${
ETCD_PEER_KEY_BASE64
:-})
ETCD_PEER_CERT:
$(
yaml-quote
${
ETCD_PEER_CERT_BASE64
:-})
ENCRYPTION_PROVIDER_CONFIG:
$(
yaml-quote
${
ENCRYPTION_PROVIDER_CONFIG
:-})
SERVICEACCOUNT_ISSUER:
$(
yaml-quote
${
SERVICEACCOUNT_ISSUER
:-})
EOF
# KUBE_APISERVER_REQUEST_TIMEOUT_SEC (if set) controls the --request-timeout
...
...
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