@@ -16,10 +16,10 @@ echo "===> Creating namespace"
1616kubectl create namespace lieutenant
1717
1818echo " ===> CRDs (global scope)"
19- kubectl apply -k github.com/projectsyn/lieutenant-operator/deploy/crds ? ref=v0.5.2
19+ kubectl apply -k " github.com/projectsyn/lieutenant-operator/config/crd ?ref=v1.3.0 "
2020
2121echo " ===> Operator deployment"
22- kubectl -n lieutenant apply -k github.com/projectsyn/lieutenant-operator/deploy ? ref=v0.5.2
22+ kubectl -n lieutenant apply -k " github.com/projectsyn/lieutenant-operator/config/samples/deployment ?ref=v1.3.0 "
2323
2424echo " ===> Operator configuration"
2525kubectl -n lieutenant set env deployment/lieutenant-operator -c lieutenant-operator \
@@ -30,7 +30,7 @@ kubectl -n lieutenant set env deployment/lieutenant-operator -c lieutenant-opera
3030
3131# tag::demo[]
3232echo " ===> API deployment"
33- kubectl -n lieutenant apply -k " github.com/projectsyn/lieutenant-api/deploy?ref=v0.5.0 "
33+ kubectl -n lieutenant apply -k " github.com/projectsyn/lieutenant-api/deploy?ref=v0.9.1 "
3434
3535echo " ===> API configuration"
3636kubectl -n lieutenant set env deployment/lieutenant-api -c lieutenant-api \
@@ -65,7 +65,7 @@ LIEUTENANT_TOKEN=$(kubectl -n lieutenant get secret "$(kubectl -n lieutenant get
6565LIEUTENANT_AUTH=" Authorization: Bearer ${LIEUTENANT_TOKEN} "
6666
6767echo " ===> Create a Lieutenant Tenant via the API"
68- TENANT_ID=$( curl -s -H " $LIEUTENANT_AUTH " -H " Content-Type: application/json" -X POST --data " {\" displayName\" :\" Tutorial Tenant\" ,\" gitRepo\" :{\" url\" :\" ssh://git@${GITLAB_ENDPOINT} /${GITLAB_USERNAME} /tutorial-tenant.git\" },\" globalGitRepoRevision\" :\" v0.5.0 \" }" " ${LIEUTENANT_URL} /tenants" | jq -r " .id" )
68+ TENANT_ID=$( curl -s -H " $LIEUTENANT_AUTH " -H " Content-Type: application/json" -X POST --data " {\" displayName\" :\" Tutorial Tenant\" ,\" gitRepo\" :{\" url\" :\" ssh://git@${GITLAB_ENDPOINT} /${GITLAB_USERNAME} /tutorial-tenant.git\" },\" globalGitRepoRevision\" :\" v1 \" }" " ${LIEUTENANT_URL} /tenants" | jq -r " .id" )
6969echo " Tenant ID: $TENANT_ID "
7070
7171echo " ===> Patch the Tenant object to add a cluster template"
0 commit comments