-
Notifications
You must be signed in to change notification settings - Fork 16.7k
[stable/spinnaker] Leverage Halyard for installation #6407
Changes from 27 commits
c24e566
e6b3516
860d3da
1f5b171
a6f8865
922a6b9
caf18ce
88c57ca
716576b
d5f558b
b43b281
a397e5f
e52f106
c1e12a9
df6efb0
e15e03d
1cae6ff
cd651f7
39653bb
d15f23b
961c58b
7782318
07924be
9cc213f
7667063
9d11408
407f9ee
f7c214d
fc44dc5
248cb4c
edb4204
ae289b4
9e13f54
997019c
420d626
267801f
2263457
43eee44
c2776d5
3a03a5a
1f30a21
d681f66
0e87bb6
668572f
40c50ac
c43836b
4cb44d0
4e00d00
20f5165
552f4ba
8f64a11
56dbdc9
2d1c4cf
5e35e41
bcec62e
933e6a3
e3576ae
8f4b952
5fd48a2
b61619a
eda73e2
f586f23
7297496
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
apiVersion: v1 | ||
description: Open source, multi-cloud continuous delivery platform for releasing software changes with high velocity and confidence. | ||
name: spinnaker | ||
version: 0.5.0 | ||
appVersion: 1.6.0 | ||
version: 1.0.0 | ||
appVersion: 1.8.0 | ||
home: http://spinnaker.io/ | ||
sources: | ||
- https://github.com/spinnaker | ||
|
@@ -11,3 +11,5 @@ icon: https://pbs.twimg.com/profile_images/669205226994319362/O7OjwPrh_400x400.p | |
maintainers: | ||
- name: viglesiasce | ||
email: [email protected] | ||
- name: lwander | ||
email: [email protected] |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
approvers: | ||
- viglesiasce | ||
- lwander | ||
reviewers: | ||
- viglesiasce | ||
- lwander |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,7 +15,7 @@ For more information on Spinnaker and its capabilities, see it's [documentation] | |
To install the chart with the release name `my-release`: | ||
|
||
```bash | ||
$ helm install --name my-release stable/spinnaker | ||
$ helm install --name my-release stable/spinnaker --timeout 600 | ||
``` | ||
|
||
Note that this chart pulls in many different Docker images so can take a while to fully install. | ||
|
@@ -55,5 +55,38 @@ for Spinnaker. If you want to add arbitrary clusters need to do the following: | |
contexts: | ||
# Names of contexts available in the uploaded kubeconfig | ||
- my-context | ||
# This is the context from the list above that you would like | ||
# to deploy Spinnaker itself to. | ||
deploymentContext: my-context | ||
``` | ||
|
||
## Customizing your installation | ||
|
||
### Manual | ||
While the default installation is ready to handle your Kubernetes deployments, there are | ||
many different integrations that you can turn on with Spinnaker. In order to customize | ||
Spinnaker, you can use the [Halyard](https://www.spinnaker.io/reference/halyard/) command line `hal` | ||
to edit the configuration and apply it to what has already been deployed. | ||
|
||
Halyard has an in-cluster daemon that stores your configuration. You can exec a shell in this pod to | ||
make and apply your changes. The Halyard daemon is configured with a persistent volume to ensure that | ||
your configuration data persists any node failures, reboots or upgrades. | ||
|
||
For example: | ||
|
||
```shell | ||
$ helm install -n cd stable/spinnaker | ||
$ kubectl exec -it cd-spinnaker-halyard-0 bash | ||
spinnaker@cd-spinnaker-halyard-0:/workdir$ hal version list | ||
``` | ||
|
||
### Automated | ||
If you have known set of commands that you'd like to run after the base config steps or if | ||
you'd like to override some settings before the Spinnaker deployment is applied, you can enable | ||
the `halyard.additionalConfig.enabled` flag. You will need to create a config map that contains a key | ||
contianing the `hal` commands you'd like to run. You can set the key via the config map name via `halyard.additionalConfig.configMapName` and the key via `halyard.additionalConfig.configMapKey`. The `DAEMON_ENDPOINT` environment variable can be used in your custom commands to | ||
get a prepopulated URL that points to your Halyard daemon within the cluster. For example: | ||
|
||
```shell | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Should this shell command be present in a ConfigMap map that we manually create? I'm imagining that we would need to do something like:
apiVersion: v1
kind: ConfigMap
metadata:
name: my-custom-halyard-config
data:
custom_commands.sh: |
hal --daemon-endpoint $DAEMON_ENDPOINT config security authn oauth2 enable
And then run helm install stable/spinnaker
--set halyard.additionalConfig.configMapName=my-custom-halyard-config
--set halyard.additionalConfig.configMapKey=custom_commands.sh Is that right? |
||
hal --daemon-endpoint $DAEMON_ENDPOINT config security authn oauth2 enable | ||
``` |
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
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.
Typo;
contianing
->containing