Add MinIO manifests
This commit is contained in:
parent
9db32d41b2
commit
e16373d94d
21
deploy
21
deploy
@ -5,7 +5,8 @@
|
|||||||
|
|
||||||
set -o pipefail
|
set -o pipefail
|
||||||
|
|
||||||
FLUX_MANIFEST_PATH="clusters/minikube"
|
# Namespaces
|
||||||
|
FLUX_MANIFEST_PATH="clusters/dev"
|
||||||
readonly FLUX_MANIFEST_PATH
|
readonly FLUX_MANIFEST_PATH
|
||||||
APP_NAMESPACE="app"
|
APP_NAMESPACE="app"
|
||||||
readonly APP_NAMESPACE
|
readonly APP_NAMESPACE
|
||||||
@ -15,6 +16,10 @@ MONITORING_NAMESPACE="monitoring"
|
|||||||
readonly MONITORING_NAMESPACE
|
readonly MONITORING_NAMESPACE
|
||||||
SPINNAKER_NAMESPACE="cicd"
|
SPINNAKER_NAMESPACE="cicd"
|
||||||
readonly SPINNAKER_NAMESPACE
|
readonly SPINNAKER_NAMESPACE
|
||||||
|
MINIO_NAMESPACE="monitoring"
|
||||||
|
readonly MINIO_NAMESPACE
|
||||||
|
|
||||||
|
# Helm Chart versions
|
||||||
PGSQLHA_CHART_VERSION="12.3.7"
|
PGSQLHA_CHART_VERSION="12.3.7"
|
||||||
readonly PGSQLHA_CHART_VERSION
|
readonly PGSQLHA_CHART_VERSION
|
||||||
PGSQLHA_OCI_URL="oci://registry-1.docker.io/bitnamicharts/postgresql-ha"
|
PGSQLHA_OCI_URL="oci://registry-1.docker.io/bitnamicharts/postgresql-ha"
|
||||||
@ -29,6 +34,8 @@ SPINNAKER_OPERATOR_CHART_VERSION="1.8.11"
|
|||||||
readonly SPINNAKER_OPERATOR_CHART_VERSION
|
readonly SPINNAKER_OPERATOR_CHART_VERSION
|
||||||
TRIVY_CHART_VERSION="0.18.4"
|
TRIVY_CHART_VERSION="0.18.4"
|
||||||
readonly TRIVY_CHART_VERSION
|
readonly TRIVY_CHART_VERSION
|
||||||
|
MINIO_CHART_VERSION="4.3.7"
|
||||||
|
readonly MINIO_CHART_VERSION
|
||||||
|
|
||||||
mkdir -p "${FLUX_MANIFEST_PATH}"
|
mkdir -p "${FLUX_MANIFEST_PATH}"
|
||||||
|
|
||||||
@ -108,3 +115,15 @@ printf "Using flux to create Sources and HelmReleases\n"
|
|||||||
--namespace "${SECSCAN_NAMESPACE}" \
|
--namespace "${SECSCAN_NAMESPACE}" \
|
||||||
--source=HelmRepository/aqua \
|
--source=HelmRepository/aqua \
|
||||||
--export > "${FLUX_MANIFEST_PATH}/trivy.yaml"
|
--export > "${FLUX_MANIFEST_PATH}/trivy.yaml"
|
||||||
|
|
||||||
|
# MinIO Object Storage
|
||||||
|
./flux create source helm minio \
|
||||||
|
--url minio-operator https://operator.min.io \
|
||||||
|
--namespace "${MINIO_NAMESPACE}" \
|
||||||
|
--export > "${FLUX_MANIFEST_PATH}/source_minio.yaml"
|
||||||
|
./flux create helmrelease minio \
|
||||||
|
--chart minio-operator \
|
||||||
|
--chart-version "${MINIO_CHART_VERSION}" \
|
||||||
|
--namespace "${MINIO_NAMESPACE}" \
|
||||||
|
--source=HelmRepository/ \
|
||||||
|
--export > "${FLUX_MANIFEST_PATH}/minio.yaml"
|
||||||
|
Loading…
Reference in New Issue
Block a user