Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
tingweiwang
/
kpl-launcher
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 8a728093
authored
Jun 03, 2020
by
tingweiwang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改证书生产
1 parent
52ff9c72
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
52 additions
and
47 deletions
deploy.sh
k8s_yaml/certs/server.crt
k8s_yaml/certs/server.key
k8s_yaml/kpl-ssl-configmap.yaml
deploy.sh
View file @
8a72809
...
...
@@ -8,6 +8,11 @@ if [ $? -eq 0 ]; then
else
echo
"namespace not found, autocreate namespace volcano-system"
&&
kubectl create namespace volcano-system
fi
#kubectl get configmaps -n kpl |grep kpl-ssl
#if [ $? -eq 0 ]; then
# echo "configmap kpl-ssl already exits,continue operation"
#else
# echo "configmaps kpl-ssl not found,autocreate" && kubectl apply -f k8s_yaml/kpl-ssl-configmap.yaml
#############################################
sed_image_name
()
{
echo
"#sed image name##"
...
...
k8s_yaml/certs/server.crt
0 → 100644
View file @
8a72809
-----BEGIN CERTIFICATE-----
MIICKTCCAbCgAwIBAgIJAOEzff/TB45/MAoGCCqGSM49BAMCMFMxCzAJBgNVBAYT
AkFVMRMwEQYDVQQIDApTb21lLVN0YXRlMSEwHwYDVQQKDBhJbnRlcm5ldCBXaWRn
aXRzIFB0eSBMdGQxDDAKBgNVBAMMA0tQTDAeFw0yMDA2MDMwMzA2MDRaFw0zMDA2
MDEwMzA2MDRaMFMxCzAJBgNVBAYTAkFVMRMwEQYDVQQIDApTb21lLVN0YXRlMSEw
HwYDVQQKDBhJbnRlcm5ldCBXaWRnaXRzIFB0eSBMdGQxDDAKBgNVBAMMA0tQTDB2
MBAGByqGSM49AgEGBSuBBAAiA2IABDUlvu7GTOB4kYiqBuRqiLU3chqccZhMFL16
olmMX31M8EWA0VXj5JeMo4js7NcuBRfFp2JIdhqOroodz+Bu64nmhjbr7Qkglk14
XguoUrwycTAlba2JdBpXRXwY5uP7eqNQME4wHQYDVR0OBBYEFPQ81JjaE8UG4FyX
Hjo09H9dRkcEMB8GA1UdIwQYMBaAFPQ81JjaE8UG4FyXHjo09H9dRkcEMAwGA1Ud
EwQFMAMBAf8wCgYIKoZIzj0EAwIDZwAwZAIwSCzsAdwv5fJOlAMI6W+0s5whygR3
VQEq88EffPmjQ8Cn6rqWFzev4Cd5W18Qput9AjAjoBh5WdlK1N0sIZpRLaCYK7El
2vab3X1CbV8MkwGJU7Vnjav+w185kSNpbpF6idw=
-----END CERTIFICATE-----
k8s_yaml/certs/server.key
0 → 100644
View file @
8a72809
-----BEGIN EC PARAMETERS-----
BgUrgQQAIg==
-----END EC PARAMETERS-----
-----BEGIN EC PRIVATE KEY-----
MIGkAgEBBDCc8hpwAUrmEZUnFeD4Fi/OnMT2fAXVtJ50FIR/HCWMD/pPDV1uKLZI
Hm6h6fRQX82gBwYFK4EEACKhZANiAAQ1Jb7uxkzgeJGIqgbkaoi1N3IanHGYTBS9
eqJZjF99TPBFgNFV4+SXjKOI7OzXLgUXxadiSHYajq6KHc/gbuuJ5oY26+0JIJZN
eF4LqFK8MnEwJW2tiXQaV0V8GObj+3o=
-----END EC PRIVATE KEY-----
k8s_yaml/kpl-ssl-configmap.yaml
View file @
8a72809
...
...
@@ -2,57 +2,34 @@ apiVersion: v1
data
:
server.crt
:
|
-----BEGIN CERTIFICATE-----
MIIC7zCCAdegAwIBAgIJALlcgWTrwOS9MA0GCSqGSIb3DQEBCwUAMA4xDDAKBgNV
BAMMA0tQTDAeFw0yMDA1MjYwNzA4MzBaFw0zMDA1MjQwNzA4MzBaMA4xDDAKBgNV
BAMMA0tQTDCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAOC+N7eY/ePy
LPC0frnxzC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ESlmTu2b6yY
6axih4ba/X3xqTGGyk/N5krB
-----END PRIVATE KEY-----
-----BEGIN EC PARAMETERS-----
BgUrgQQAIg==
-----END EC PARAMETERS-----
-----BEGIN EC PRIVATE KEY-----
MIGkAgEBBDCc8hpwAUrmEZUnFeD4Fi/OnMT2fAXVtJ50FIR/HCWMD/pPDV1uKLZI
Hm6h6fRQX82gBwYFK4EEACKhZANiAAQ1Jb7uxkzgeJGIqgbkaoi1N3IanHGYTBS9
eqJZjF99TPBFgNFV4+SXjKOI7OzXLgUXxadiSHYajq6KHc/gbuuJ5oY26+0JIJZN
eF4LqFK8MnEwJW2tiXQaV0V8GObj+3o=
-----END EC PRIVATE KEY-----
kind
:
ConfigMap
metadata
:
creationTimestamp
:
"
2020-0
5-26T07:08:41
Z"
creationTimestamp
:
"
2020-0
6-03T03:06:22
Z"
name
:
kpl-ssl
namespace
:
kpl
resourceVersion
:
"
6
0214464
"
resourceVersion
:
"
6
1559587
"
selfLink
:
/api/v1/namespaces/kpl/configmaps/kpl-ssl
uid
:
84ec63bc-c722-4e2e-aa50-78e18ba3796c
uid
:
4c6174b1-3847-4c29-a7e7-fcd7b6e011e9
Write
Preview
Markdown
is supported
Attach a file
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 post a comment