Configure the tekton persistent volume

This commit is contained in:
Victor Timofei 2021-12-29 16:24:30 +02:00
parent 2cc37ac229
commit 0610e0a439
Signed by: vtimofei
GPG Key ID: B790DCEBE281403A
1 changed files with 5 additions and 0 deletions

View File

@ -31,6 +31,11 @@ function install_tekton {
-f https://storage.googleapis.com/tekton-releases/pipeline/latest/release.yaml
${KUBECTL_BIN} apply \
-f https://storage.googleapis.com/tekton-releases/triggers/latest/release.yaml
${KUBECTL_BIN} create configmap config-artifact-pvc \
--from-literal=size=10Gi \
--from-literal=storageClassName=manual \
-o yaml -n tekton-pipelines \
--dry-run=client | ${KUBECTL_BIN} replace -f -
}
mkdir -pv "${INSTALL_DIR}"