kube/camtiler
Lauri Võsandi 1045ed2f26
All checks were successful
continuous-integration/drone Build is passing
Migrate to Prometheus Operator
2022-09-11 16:38:16 +03:00
..
.gitignore Initial commit 2022-08-25 11:22:50 +03:00
application.yml Migrate to Prometheus Operator 2022-09-11 16:38:16 +03:00
minio-support.yml Initial commit 2022-08-25 11:22:50 +03:00
mongodb-support.yml Initial commit 2022-08-25 11:22:50 +03:00
mongoexpress.yml Initial commit 2022-08-25 11:22:50 +03:00
networkpolicy-base.yml Initial commit 2022-08-25 11:22:50 +03:00
persistence.yml camtiler: Reduce logging verbosity for Mongo 2022-09-04 08:42:59 +03:00
README.md camtiler: Reduce logging verbosity for Mongo 2022-09-04 08:42:59 +03:00

To apply changes:

kubectl apply -n camtiler -f application.yml -f persistence.yml -f mongoexpress.yml -f mongodb-support.yml -f networkpolicy-base.yml -f minio-support.yml

To deploy changes:

kubectl -n camtiler rollout restart deployment.apps/camtiler

To initialize secrets:

kubectl create secret generic -n camtiler mongodb-application-readwrite-password --from-literal="password=$(cat /dev/urandom | base64 | head -c 30)"
kubectl create secret generic -n camtiler mongodb-application-readonly-password --from-literal="password=$(cat /dev/urandom | base64 | head -c 30)"
kubectl create secret generic -n camtiler minio-secret \
    --from-literal=accesskey=application \
    --from-literal=secretkey=$(cat /dev/urandom | base64 | head -c 30)
kubectl create secret generic -n camtiler minio-env-configuration \
    --from-literal="MINIO_BROWSER=off" \
    --from-literal="MINIO_ROOT_USER=root" \
    --from-literal="MINIO_ROOT_PASSWORD=$(cat /dev/urandom | base64 | head -c 30)" \
    --from-literal="MINIO_STORAGE_CLASS_STANDARD=EC:4"
kubectl -n camtiler create secret generic camera-secrets \
    --from-literal=username=... \
    --from-literal=password=...