зеркало из https://github.com/Azure/aztack.git
remove bootstrap configmap
This commit is contained in:
Родитель
4789fa34b4
Коммит
8a68a1b3ef
|
@ -101,7 +101,6 @@ clean: destroy delete-keypair
|
|||
## create tls bootstrap config
|
||||
create-tls-bootstrap-config:
|
||||
@scripts/create-bootstrap-rbac
|
||||
@scripts/create-bootstrap-configmap
|
||||
@scripts/create-bootstrap-secret
|
||||
|
||||
## create kube-system addons
|
||||
|
|
|
@ -1,28 +0,0 @@
|
|||
#!/bin/bash
|
||||
echo $DIR_SSL
|
||||
echo $KUBE_API_PUBLIC_FQDN
|
||||
|
||||
|
||||
CA_PATH=$DIR_SSL/${CLUSTER_NAME}/ca.pem
|
||||
CA_CRT_BASE64=$(cat ${CA_PATH} | base64 -w0)
|
||||
|
||||
cat <<EOF | kubectl apply -f -
|
||||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
metadata:
|
||||
name: cluster-info
|
||||
namespace: kube-public
|
||||
data:
|
||||
kubeconfig: |
|
||||
apiVersion: v1
|
||||
clusters:
|
||||
- cluster:
|
||||
certificate-authority-data: ${CA_CRT_BASE64}
|
||||
server: https://${KUBE_API_PUBLIC_FQDN}:6443
|
||||
name: ""
|
||||
contexts: []
|
||||
current-context: ""
|
||||
kind: Config
|
||||
preferences: {}
|
||||
users: []
|
||||
EOF
|
Загрузка…
Ссылка в новой задаче