Skip to content

Instantly share code, notes, and snippets.

@saidsef
Last active October 22, 2021 18:53
Show Gist options
  • Save saidsef/4465caae5824f425d1b2e2506aedfab1 to your computer and use it in GitHub Desktop.
Save saidsef/4465caae5824f425d1b2e2506aedfab1 to your computer and use it in GitHub Desktop.
# Prerequisites:
# 1. You must have deployed K8s Spinnaker CRDs
# 2. You must have deployed K8s Operator
---
apiVersion: spinnaker.io/v1alpha2
kind: SpinnakerService
metadata:
name: spinnaker
spec:
spinnakerConfig:
config:
providers:
dockerRegistry:
enabled: true
# AWS: Correct configuration required
#aws:
# enabled: true
# accounts:
# - name: saidsef
# requiredGroupMembership: []
# providerVersion: V1
# permissions: {}
# accountId: '1234567890'
# regions:
# - name: eu-west-1
# assumeRole: {}
#kubernetes:
# enabled: true
# accounts:
# - name: spot
security:
uiSecurity:
overrideBaseUrl: http://spin-deck:9000
apiSecurity:
overrideBaseUrl: http://spin-gate:8084
corsAccessPattern: "^.*$"
version: 1.26.4 # the version of Spinnaker to be deployed
persistentStorage:
persistentStoreType: s3
s3:
bucket: s3-pipeline-code-deploy # Change to a unique name. Spinnaker stores application and pipeline definitions here
rootFolder: front50
profiles:
terraformer:
redis:
baseUrl: "redis://redis.storage:6379"
dinghy:
redis:
baseUrl: "redis://redis.storage:6379"
service-settings:
env:
SPINNAKER_AWS_DEFAULT_REGION: "eu-west-1"
SPINNAKER_AWS_DEFAULT_ACCOUNT: "1234567890"
redis:
overrideBaseUrl: redis://redis.storage:6379 # External redis endpoint
skipLifeCycleManagement: true # Tell spinnaker to not manage the embedded spin-redis pod
expose: {}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment