From de99a63feb654f9467e9a13c4024f93670428b38 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Busse?= Date: Mon, 19 Feb 2024 14:22:39 +0100 Subject: [PATCH] minio: Add namespace --- clusters/minikube/spinnaker-config.yaml | 22 ---------------------- deploy | 9 +-------- 2 files changed, 1 insertion(+), 30 deletions(-) delete mode 100644 clusters/minikube/spinnaker-config.yaml diff --git a/clusters/minikube/spinnaker-config.yaml b/clusters/minikube/spinnaker-config.yaml deleted file mode 100644 index 2e078be..0000000 --- a/clusters/minikube/spinnaker-config.yaml +++ /dev/null @@ -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 diff --git a/deploy b/deploy index 82b8dba..66dea37 100755 --- a/deploy +++ b/deploy @@ -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}" \