This repository has been archived by the owner on Feb 22, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 16.7k
Spinnaker Chart #377
Merged
+2,148
−0
Merged
Spinnaker Chart #377
Changes from 20 commits
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
50c5ab9
Initial spinnaker
ce3d0da
Jenkins patch
viglesiasce 9e277de
Fix jenkins job upload
viglesiasce c599f28
Add run script
viglesiasce ce71233
Fix mail
viglesiasce 96df777
Simplify run-script
viglesiasce af88a2b
Spinnaker cleanup
viglesiasce 7dbf94e
Remove kube config from clouddriver
d590a4b
Make labels release specific
901a2d3
Delete upload-run-script job
7b5c603
Add requirements.lock
c85230e
Update notes
ab93cf8
Rename registry account
357ab50
Pin image versions
3047796
Reference Spinnaker docs where possible
a8a9169
Fix build image job
ab7c44b
Add more chart metadata
cdc42ef
Pin hook job images
40bb9af
Add an app label to config maps
773e914
Rename .yml->.yaml
5ebc5dc
Add namespace to port-forward commands
d67b6be
Add note this can take a while to install
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# Patterns to ignore when building packages. | ||
# This supports shell glob matching, relative path matching, and | ||
# negation (prefixed with !). Only one pattern per line. | ||
.DS_Store | ||
# Common VCS dirs | ||
.git/ | ||
.gitignore | ||
.bzr/ | ||
.bzrignore | ||
.hg/ | ||
.hgignore | ||
.svn/ | ||
# Common backup files | ||
*.swp | ||
*.bak | ||
*.tmp | ||
*~ | ||
# Various IDEs | ||
.project | ||
.idea/ | ||
*.tmproj |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
apiVersion: v1 | ||
description: A Helm chart for Kubernetes | ||
name: spinnaker | ||
version: 0.1.0 | ||
home: http://spinnaker.io/ | ||
sources: | ||
- https://github.com/spinnaker | ||
- https://github.com/viglesiasce/images | ||
maintainers: | ||
- name: Vic Iglesias | ||
email: viglesias@google.com |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
# Spinnaker Chart | ||
|
||
[Spinnaker](http://spinnaker.io/) is a resilient service mesh for cloud native apps | ||
|
||
## Chart Details | ||
This chart will provision a fully functional and fully featured Spinnaker installation | ||
that can deploy and manage applications in the cluster that it is deployed to. | ||
|
||
Redis and Minio are used as the stores for Spinnaker state. | ||
|
||
For more information on Spinnaker and its capabilities, see it's [documentation](http://www.spinnaker.io/docs). | ||
|
||
## Installing the Chart | ||
|
||
To install the chart with the release name `my-release`: | ||
|
||
```bash | ||
$ helm install --name my-release stable/spinnaker | ||
``` | ||
|
||
## Configuration | ||
|
||
Configurable values are documented in the `values.yaml`. | ||
|
||
Specify each parameter using the `--set key=value[,key=value]` argument to `helm install`. | ||
|
||
Alternatively, a YAML file that specifies the values for the parameters can be provided while installing the chart. For example, | ||
|
||
```bash | ||
$ helm install --name my-release -f values.yaml stable/spinnaker | ||
``` | ||
|
||
> **Tip**: You can use the default [values.yaml](values.yaml) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,83 @@ | ||
server: | ||
port: ${services.clouddriver.port:7002} | ||
address: ${services.clouddriver.host:localhost} | ||
|
||
redis: | ||
connection: ${services.redis.connection:redis://localhost:6379} | ||
|
||
udf: | ||
# Controls whether UserDataProviders are used to populate user data of new | ||
# server groups. If false, user data is copied over from ancestor server | ||
# groups on both CopyLastAsgAtomicOperation and | ||
# ModifyAsgLaunchConfigurationOperation (only if no user data is provided | ||
# on the given request). | ||
enabled: ${services.clouddriver.aws.udf.enabled:true} | ||
|
||
default: | ||
account: | ||
env: ${providers.aws.primaryCredentials.name} | ||
|
||
aws: | ||
# AWS Credentials are passed either as environment variables or through | ||
# a standard AWS file $HOME/.aws/credentials | ||
# See providers.aws.primaryCredentials in spinnaker.yml for more | ||
# info on setting environment variables. | ||
enabled: ${providers.aws.enabled:false} | ||
defaults: | ||
iamRole: ${provider.aws.defaultIAMRole:BaseIAMRole} | ||
defaultRegions: | ||
- name: ${providers.aws.defaultRegion:us-east-1} | ||
defaultFront50Template: ${services.front50.baseUrl} | ||
defaultKeyPairTemplate: ${providers.aws.defaultKeyPairTemplate} | ||
|
||
azure: | ||
enabled: ${providers.azure.enabled:false} | ||
|
||
accounts: | ||
- name: ${providers.azure.primaryCredentials.name} | ||
clientId: ${providers.azure.primaryCredentials.clientId} | ||
appKey: ${providers.azure.primaryCredentials.appKey} | ||
tenantId: ${providers.azure.primaryCredentials.tenantId} | ||
subscriptionId: ${providers.azure.primaryCredentials.subscriptionId} | ||
|
||
google: | ||
enabled: ${providers.google.enabled:false} | ||
|
||
accounts: | ||
- name: ${providers.google.primaryCredentials.name} | ||
project: ${providers.google.primaryCredentials.project} | ||
jsonPath: ${providers.google.primaryCredentials.jsonPath} | ||
|
||
cf: | ||
enabled: ${providers.cf.enabled:false} | ||
|
||
accounts: | ||
- name: ${providers.cf.primaryCredentials.name} | ||
api: ${providers.cf.primaryCredentials.api} | ||
console: ${providers.cf.primaryCredentials.console} | ||
org: ${providers.cf.defaultOrg} | ||
space: ${providers.cf.defaultSpace} | ||
username: ${providers.cf.account.name:} | ||
password: ${providers.cf.account.password:} | ||
|
||
kubernetes: | ||
enabled: ${providers.kubernetes.enabled:false} | ||
accounts: | ||
- name: ${providers.kubernetes.primaryCredentials.name} | ||
serviceAccount: true | ||
dockerRegistries: | ||
- accountName: ${providers.kubernetes.primaryCredentials.dockerRegistryAccount} | ||
|
||
dockerRegistry: | ||
enabled: ${providers.dockerRegistry.enabled:false} | ||
accounts: | ||
- name: ${providers.dockerRegistry.primaryCredentials.name} | ||
address: ${providers.dockerRegistry.primaryCredentials.address} | ||
username: ${providers.dockerRegistry.primaryCredentials.username:} | ||
passwordFile: ${providers.dockerRegistry.primaryCredentials.passwordFile:} | ||
repositories: | ||
- ${providers.dockerRegistry.primaryCredentials.repository} | ||
|
||
credentials: | ||
primaryAccountTypes: ${providers.aws.primaryCredentials.name}, ${providers.google.primaryCredentials.name}, ${providers.cf.primaryCredentials.name}, ${providers.azure.primaryCredentials.name} | ||
challengeDestructiveActionsEnvironments: ${providers.aws.primaryCredentials.name}, ${providers.google.primaryCredentials.name}, ${providers.cf.primaryCredentials.name}, ${providers.azure.primaryCredentials.name} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
server: | ||
port: ${services.echo.port:8089} | ||
address: 0.0.0.0 | ||
|
||
cassandra: | ||
enabled: false | ||
|
||
spinnaker: | ||
inMemory: | ||
enabled: true | ||
cassandra: | ||
enabled: false | ||
|
||
front50: | ||
baseUrl: ${services.front50.baseUrl:http://localhost:8080} | ||
|
||
orca: | ||
baseUrl: ${services.orca.baseUrl:http://localhost:8083} | ||
|
||
endpoints.health.sensitive: false | ||
|
||
slack: | ||
enabled: ${services.echo.notifications.slack.enabled:false} | ||
token: ${services.echo.notifications.slack.token} | ||
|
||
spring: | ||
mail: | ||
host: ${services.echo.notifications.mail.host} | ||
port: ${services.echo.notifications.mail.port} | ||
username: ${services.echo.notifications.mail.username} | ||
password: ${services.echo.notifications.mail.password} | ||
properties: | ||
mail: | ||
smtp: | ||
auth: ${services.echo.notifications.mail.auth:true} | ||
ssl: | ||
enable: ${services.echo.notifications.mail.ssl:true} | ||
|
||
mail: | ||
enabled: ${services.echo.notifications.mail.enabled:false} | ||
host: ${services.echo.notifications.mail.host} | ||
from: ${services.echo.notifications.mail.fromAddress} | ||
|
||
hipchat: | ||
enabled: ${services.echo.notifications.hipchat.enabled:false} | ||
baseUrl: ${services.echo.notifications.hipchat.url} | ||
token: ${services.echo.notifications.hipchat.token} | ||
|
||
twilio: | ||
enabled: ${services.echo.notifications.sms.enabled:false} | ||
baseUrl: ${services.echo.notifications.sms.url:https://api.twilio.com/} | ||
account: ${services.echo.notifications.sms.account} | ||
token: ${services.echo.notifications.sms.token} | ||
from: ${services.echo.notifications.sms.from} | ||
|
||
scheduler: | ||
enabled: ${services.echo.cron.enabled:true} | ||
threadPoolSize: 20 | ||
triggeringEnabled: true | ||
pipelineConfigsPoller: | ||
enabled: true | ||
pollingIntervalMs: 30000 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
server: | ||
port: ${services.echo.port:8089} | ||
address: 0.0.0.0 | ||
|
||
cassandra: | ||
enabled: false | ||
embedded: true | ||
host: ${services.cassandra.host:localhost} | ||
|
||
spinnaker: | ||
baseUrl: ${services.deck.baseUrl} | ||
cassandra: | ||
enabled: ${services.echo.cassandra.enabled:true} | ||
inMemory: | ||
enabled: ${services.echo.inMemory.enabled:false} | ||
|
||
front50: | ||
baseUrl: ${services.front50.baseUrl:http://localhost:8080} | ||
|
||
orca: | ||
baseUrl: ${services.orca.baseUrl:http://localhost:8083} | ||
|
||
endpoints.health.sensitive: false | ||
|
||
slack: | ||
enabled: ${services.echo.notifications.slack.enabled:false} | ||
token: ${services.echo.notifications.slack.token} | ||
|
||
spring: | ||
mail: | ||
host: ${services.echo.notifications.mail.host} | ||
port: ${services.echo.notifications.mail.port} | ||
username: ${services.echo.notifications.mail.username} | ||
password: ${services.echo.notifications.mail.password} | ||
properties: | ||
mail: | ||
smtp: | ||
auth: ${services.echo.notifications.mail.auth:true} | ||
ssl: | ||
enable: ${services.echo.notifications.mail.ssl:true} | ||
mail: | ||
enabled: ${services.echo.notifications.mail.enabled:false} | ||
host: ${services.echo.notifications.mail.host} | ||
from: ${services.echo.notifications.mail.fromAddress} | ||
|
||
hipchat: | ||
enabled: ${services.echo.notifications.hipchat.enabled:false} | ||
baseUrl: ${services.echo.notifications.hipchat.url} | ||
token: ${services.echo.notifications.hipchat.token} | ||
|
||
twilio: | ||
enabled: ${services.echo.notifications.sms.enabled:false} | ||
baseUrl: ${services.echo.notifications.sms.url:https://api.twilio.com/} | ||
account: ${services.echo.notifications.sms.account} | ||
token: ${services.echo.notifications.sms.token} | ||
from: ${services.echo.notifications.sms.from} | ||
|
||
scheduler: | ||
enabled: ${services.echo.cron.enabled:true} | ||
threadPoolSize: 20 | ||
triggeringEnabled: true | ||
pipelineConfigsPoller: | ||
enabled: true | ||
pollingIntervalMs: 30000 | ||
cron: | ||
timezone: ${services.echo.cron.timezone} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
server: | ||
port: ${services.fiat.port:7003} | ||
address: 0.0.0.0 | ||
|
||
redis: | ||
connection: ${services.redis.connection:redis://localhost:6379} | ||
|
||
auth: | ||
getAll: | ||
enabled: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
server: | ||
port: ${services.front50.port:8080} | ||
address: 0.0.0.0 | ||
|
||
aws: | ||
simpleDBEnabled: ${providers.aws.simpleDBEnabled:false} | ||
defaultSimpleDBDomain: ${providers.aws.defaultSimpleDBDomain} | ||
|
||
cassandra: | ||
enabled: false | ||
|
||
spinnaker: | ||
cassandra: | ||
enabled: false | ||
redis: | ||
enabled: false | ||
gcs: | ||
enabled: ${services.front50.gcs.enabled} | ||
project: ${services.front50.gcs.project} | ||
jsonPath: /root/.kube/account.json # Don't change this | ||
rootFolder: ${services.front50.bucket_root} | ||
bucket: ${services.front50.storage_bucket} | ||
s3: | ||
enabled: ${services.front50.s3.enabled} | ||
rootFolder: ${services.front50.bucket_root} | ||
bucket: ${services.front50.storage_bucket} | ||
endpoint: ${services.front50.s3.endpoint} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
server: | ||
port: ${services.front50.port:8080} | ||
address: ${services.front50.host:localhost} | ||
|
||
cassandra: | ||
enabled: ${services.front50.cassandra.enabled:true} | ||
embedded: ${services.cassandra.embedded:false} | ||
host: ${services.cassandra.host:localhost} | ||
|
||
aws: | ||
simpleDBEnabled: ${providers.aws.simpleDBEnabled:false} | ||
defaultSimpleDBDomain: ${providers.aws.defaultSimpleDBDomain} | ||
|
||
spinnaker: | ||
cassandra: | ||
enabled: ${services.front50.cassandra.enabled:true} | ||
host: ${services.cassandra.host:localhost} | ||
port: ${services.cassandra.port:9042} | ||
cluster: ${services.cassandra.cluster:CASS_SPINNAKER} | ||
keyspace: front50 | ||
name: global | ||
|
||
redis: | ||
enabled: ${services.front50.redis.enabled:false} | ||
|
||
gcs: | ||
enabled: ${services.front50.gcs.enabled:false} | ||
bucket: ${services.front50.storage_bucket:} | ||
# See https://cloud.google.com/storage/docs/managing-buckets#manage-class-location | ||
bucketLocation: ${services.front50.bucket_location:} | ||
rootFolder: ${services.front50.bucket_root:front50} | ||
project: ${providers.google.primaryCredentials.project} | ||
jsonPath: ${providers.google.primaryCredentials.jsonPath} | ||
|
||
aws: | ||
enabled: ${services.front50.s3.enabled:false} | ||
bucket: ${services.front50.storage_bucket:} | ||
rootFolder: ${services.front50.bucket_root:front50} | ||
endpoint: ${services.front50.s3.endpoint:} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
server: | ||
port: ${services.gate.port:8084} | ||
address: 0.0.0.0 | ||
|
||
# Circular references since we're already using 'services' | ||
# services: | ||
# clouddriver: | ||
# baseUrl: ${services.clouddriver.baseUrl:localhost:7002} | ||
# orca: | ||
# baseUrl: ${services.orca.baseUrl:localhost:8083} | ||
# front50: | ||
# baseUrl: ${services.front50.baseUrl:localhost:8080} | ||
# #optional services: | ||
# echo: | ||
# enabled: ${services.echo.enabled:true} | ||
# baseUrl: ${services.echo.baseUrl:8089} | ||
# flapjack: | ||
# enabled: ${services.flapjack.enabled:false} | ||
# igor: | ||
# enabled: ${services.igor.enabled:false} | ||
# baseUrl: ${services.igor.baseUrl:8088} | ||
|
||
redis: | ||
connection: ${services.redis.connection} | ||
|
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Mention the timeout value on install
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It won't exist in helm until 2.2
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added a note for now. Will update when helm 2.2 ships