changes
This commit is contained in:
@@ -8,14 +8,10 @@ kubectl create namespace $NAMESPACE \
|
||||
kubectl -f - apply
|
||||
|
||||
echo "Applying certificate ..."
|
||||
kubectl apply -f $DEPLOYMENT_DIR/certificate.yml -n $NAMESPACE
|
||||
kubectl apply -f certificate.yml -n $NAMESPACE
|
||||
|
||||
echo "Applyiny configuration ..."
|
||||
kubectl create configmap mosquitto-broker-config
|
||||
--from-file=mosquitto.conf=mosquitto.conf
|
||||
--from-file=pwfile=pwfile
|
||||
--namespace=$NAMESPACE
|
||||
--dry-run=client -o yaml | kubectl apply -f - -n $NAMESPACE
|
||||
./update-config.sh
|
||||
|
||||
echo "Waiting for certificate secret to be created..."
|
||||
kubectl wait --for=condition=Ready certificate/mosquitto-broker-cert -n $NAMESPACE --timeout=300s
|
||||
|
||||
Reference in New Issue
Block a user