certmanager-install.sh readded.
This commit is contained in:
Родитель
993e56ee73
Коммит
a54e6ec2cd
|
@ -0,0 +1,11 @@
|
|||
#!/bin/bash
|
||||
set -e
|
||||
|
||||
echo "Installing Cert Manager from $CERTMANAGERURI"
|
||||
kubectl apply -f $CERTMANAGERURI
|
||||
sleep 1m
|
||||
|
||||
echo "Installing Cert Manager ClusterIssuer"
|
||||
echo "Email Address for Lets Encrypt: $EMAILAD"
|
||||
helm upgrade --install smokecertissuer $CERTMANAGERISSUERURI --set email=$EMAILAD
|
||||
sleep 1m
|
|
@ -1,12 +0,0 @@
|
|||
#!/bin/bash
|
||||
set -e
|
||||
|
||||
replace="\# containerlog_schema_version = \"v2\""
|
||||
replaceWith='containerlog_schema_version = "v2"'
|
||||
echo "Downloading default ConfigMap"
|
||||
$configMapYamlFile="$(curl https://raw.githubusercontent.com/microsoft/Docker-Provider/ci_prod/kubernetes/container-azm-ms-agentconfig.yaml)"
|
||||
echo "Setting containerlog_schema_version to v2"
|
||||
echo "${configMapYamlFile/$replace/$replaceWith}" > container-azm-ms-agentconfig.yaml
|
||||
echo "Applying ConfigMap using kubectl apply"
|
||||
kubectl apply -f container-azm-ms-agentconfig.yaml
|
||||
sleep 1m
|
Загрузка…
Ссылка в новой задаче