File tree Expand file tree Collapse file tree
rootfs/etc/confd/templates Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2626 # This var needs to be passed so that the minio client (https://github.com/minio/mc) will work in Alpine linux
2727 - name : " DOCKERIMAGE"
2828 value : " 1"
29+ - name : POD_NAMESPACE
30+ valueFrom :
31+ fieldRef :
32+ fieldPath : metadata.namespace
2933 volumeMounts :
3034 - name : minio-user
3135 mountPath : /var/run/secrets/object/store
Original file line number Diff line number Diff line change @@ -131,7 +131,8 @@ $MC_PREFIX mb "$HTTP_PREFIX://${S3EP}/git"
131131$MC_PREFIX cp ${APP_NAME} .tar.gz $TAR_URL
132132echo " stored tarfile in $TAR_URL "
133133
134- kubectl create -f /etc/${SLUG_NAME} .yaml
134+ echo " creating slugbuilder in namespace $POD_NAMESPACE "
135+ kubectl --namespace=$POD_NAMESPACE create -f /etc/${SLUG_NAME} .yaml
135136
136137# check for image creation or slug existence in S3EP
137138
You can’t perform that action at this time.
0 commit comments