minio: Add namespace

This commit is contained in:
Björn Busse 2024-02-19 14:22:39 +01:00
parent f9687c6773
commit de99a63feb
2 changed files with 1 additions and 30 deletions

View File

@ -1,22 +0,0 @@
apiVersion: spinnaker.io/v1alpha2
kind: SpinnakerService
metadata:
name: spinnaker
spec:
spinnakerConfig:
config:
version: 1.33.0
persistentStorage:
persistentStoreType: s3
# Spinnaker stores application and pipeline definitions here
# Create an S3 bucket and provide the name here
s3:
bucket: ob-spinnaker-artifacts-dev
rootFolder: front50
# spec.expose - This section defines how Spinnaker should be publicly exposed
expose:
# Kubernetes LoadBalancer type (service/ingress)
# Only "service" is supported for now
type: service
service:
type: LoadBalancer

9
deploy
View File

@ -37,6 +37,7 @@ kubectl create namespace "${APP_NAMESPACE}"
kubectl create namespace "${MONITORING_NAMESPACE}"
kubectl create namespace "${SECSCAN_NAMESPACE}"
kubectl create namespace "${SPINNAKER_NAMESPACE}"
kubectl create namespace "${MINIO_NAMESPACE}"
# Add Deployments / Helm Charts via fluxcd
# Add Helm Charts via Flux HelmRelease CRD
@ -85,18 +86,10 @@ printf "Using flux to create Sources and HelmReleases\n"
--export > "${FLUX_MANIFEST_PATH}/prometheus-stack.yaml"
# Spinnaker
./flux create source helm armory \
--url https://armory.jfrog.io/artifactory/charts/ \
--namespace "${SPINNAKER_NAMESPACE}"
./flux create source helm armory \
--url https://armory.jfrog.io/artifactory/charts/ \
--namespace "${SPINNAKER_NAMESPACE}" \
--export > "${FLUX_MANIFEST_PATH}/source_spinnaker.yaml"
./flux create helmrelease spinnaker \
--chart armory-spinnaker-operator \
--chart-version "${SPINNAKER_OPERATOR_CHART_VERSION}" \
--namespace "${SPINNAKER_NAMESPACE}" \
--source=HelmRepository/armory
./flux create helmrelease spinnaker \
--chart armory-spinnaker-operator \
--chart-version "${SPINNAKER_OPERATOR_CHART_VERSION}" \