-
Notifications
You must be signed in to change notification settings - Fork 44
/
Copy pathkustomization-all.yml
executable file
·107 lines (90 loc) · 5.28 KB
/
kustomization-all.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
#-----------------------------------------------------------------------------------------------------------------------
# All example patches and configurations are listed here.
#-----------------------------------------------------------------------------------------------------------------------
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
namespace: spinnaker
resources:
- infrastructure/kubesvc-lb.yml # Required for kubesvc agent gRPC communication
- infrastructure/mysql.yml # (Optional, not for production use). MySQL server needed if using SQL backend in Spinnaker
- infrastructure/opa.yml # (Optional). OPA server for using with Armory's policy engine, for enforcing pipeline policies
# - infrastructure/debugging-tools.yml # (Optional). A pod with some tools for troubleshooting spinnaker (curl, kubectl, vault, etc.)
# - expose/ingress-nginx.yml # (Optional). Spinnaker ingress definition
# - expose/spin-gate-expose.yml # (Optional). Alternate service definition for gate for exposing spinnaker with maximum configurability
# - expose/spin-deck-expose.yml # (Optional). Alternate service definition for deck for exposing spinnaker with maximum configurability
# - expose/patch-lb-static-ip.yml # (Optional). Expose spinnaker services through static IP load balancers
components:
- core/base
- core/persistence/in-cluster
- targets/kubernetes/default
- armory/features/policy-engine # This enables policy engine. infrastructure/opa.yml must be enabled under resources.
#bases:
# - infrastructure/prometheus-grafana # (Optional). Used in conjunction with monitoring/patch-prometheus.yml for monitoring spinnaker
# - plugins/armory-agent # (Optional). Alternate implementation for kubernetes deployments. Requires either plugins/armory-agent/patch-clouddriver-docker.yaml or plugins/armory-agent/patch-clouddriver-repo.yaml, and persistence/patch-sql-clouddriver.yml
patchesStrategicMerge:
# - persistence/patch-s3.yml
- persistence/patch-sql-clouddriver.yml ## setup clouddriver to use SQL for storage
- persistence/patch-sql-front50.yml ## setup front50 to use SQL for storage
- persistence/patch-sql-orca.yml ## setup orca to use SQL for storage
# - persistence/patch-redis.yml
# Automatically expose spinnaker
- expose/patch-lb.yml
# - expose/patch-lb-aws.yml
# - expose/patch-nodeport.yml
# - expose/patch-ingress.yml
# - expose/patch-urls.yml
# - expose/patch-cert-manager-ssl.yml ## (Optional) Enable SSL certificates to be pulled from a secret updated by cert-manager
# Authentication and authorization
#- security/patch-github.yml
# - security/patch-saml.yml
# - security/patch-file-authz.yml
# - security/patch-google-groups-auth.yml ## (Optional) Enable and configure Google Groups for AuthN and AuthZ https://spinnaker.io/setup/security/authorization/
# - security/patch-external-authz.yml ## (Optional) enable external AuthZ and set spinnaker admin roles
# - security/patch-fiat-create-app-roles.yml ## (Optional) configure fiat fine grain permissions like application creation by role
# Kubernetes accounts
# - accounts/kubernetes/patch-dynamic-git.yml
# - accounts/kubernetes/patch-dynamic-vault.yml
# AWS accounts
# - accounts/aws/patch-aws.yml
# - accounts/aws/packer-templates.yml
# CloudFoundry accounts
#- accounts/cloudfoundry/patch-cloudfoundry.yml
# Artifact accounts
- accounts/docker/patch-dockerhub.yml
# - accounts/docker/patch-gcr.yml
# - accounts/git/patch-github.yml
# - accounts/git/patch-gitrepo.yml
# - accounts/git/patch-gitlab.yml
# - accounts/git/patch-bitbucket.yml
# - accounts/s3/patch-s3.yml
# - accounts/gcs/patch-gcs.yml
# - accounts/http/patch-http.yml
# Armory features
# - armory/patch-terraformer.yml
# - armory/patch-dinghy.yml
# - armory/patch-diagnostics.yml
# - armory/patch-vault-secrets.yml ## (Optional) Enable and configure vault as a secret store for Armory deployment
- armory/patch-eval-artifacts.yml
# Spinnaker monitoring
# - accounts/prometheus/patch-prometheus.yml
# - accounts/datadog/patch-datadog.yml
# Customizations to spinnaker pods in Kubernetes
# - spinnaker_deployment/patch-volumes.yml
# - spinnaker_deployment/patch-sizing.yml
# - spinnaker_deployment/patch-labels-annotations.yml
# - spinnaker_deployment/patch-debug-jvm.yml
# - spinnaker_deployment/patch-cloudsql-sidecars.yml ## (Optional) Google Cloud Proxy Sidecars for CloudSQL
# Customization to core configuration
- core/patches/timezone.yml ## (Optional) adjust the display timezone visible to the user within deck
- core/patches/version.yml ## Set the deployed Spinnaker version
- core/patches/ui-feature-flags.yml
# Plugins
# - plugins/patch-plugin-wait.yml
# - plugins/armory-agent/patch-clouddriver-docker.yaml or plugins/armory-agent/patch-clouddriver-repo.yaml # Requires persistence/patch-sql-clouddriver.yml and the base dir plugins/armory-agent
# Mounting any custom files into spinnaker pods (see patch-volumes.yml)
#generatorOptions:
# disableNameSuffixHash: true
#secretGenerator:
# - name: custom-volume
# files:
# - spinnaker_deployment/custom-volume/file.txt