ISD Installation Configuration
In order to configure ISD, first you have to download the values.yaml file. This file specifies the values for the parameters which are provided while installing the chart. To download the file execute the following command:
1
wget https://raw.githubusercontent.com/opsmx/enterprise-spinnaker/master/charts/oes/values.yaml
Copied!
Once you run the above command, the values.yaml file is downloaded in your local machine.
Open the values.yaml file in an editor of your choice. The file will look like as shown below:
1
#####################################################
2
## OpsMx Enterprise for Spinnaker configuration
3
#####################################################
4
# Default values for OES chart.
5
## This is a YAML-formatted file.
6
## Declare variables to be passed into your templates.
7
8
## Name of the secret for pulling image from docker registry.
9
## Change it only if you want to create a secret with
10
## different name.
11
##
12
imagePullSecret: opsmxdev-secret
13
14
## Docker registry credentials to create imagePullSecret
15
##
16
imageCredentials:
17
registry: https://index.docker.io/v1/
18
username: username # Docker hub username
19
password: password # Docker hub password
20
email: [email protected] # email corresponding to docker hub ID
21
22
rbac:
23
create: true
24
25
## Option to skip installation of spinnaker, if it already exists
26
## or if OES is to be connected to existing spinnaker
27
##
28
installSpinnaker: false
29
30
## Installation mode
31
## Available installation modes OES-AP, OES, AP
32
##
33
installationMode: OES-AP
34
35
## Set to true to expose spinnaker and deck services as LoadBalancers
36
##
37
createIngress: false
38
39
## OES UI & Gate service type
40
##
41
k8sServiceType: LoadBalancer
42
43
Copied!
Note: The above file is just a sample of the original file and does not consist all the parameters.
In the above file, you can edit or customize the parameters as per your requirement. For example - Change the username, password or email under the imageCredentials section as shown in the below:
Change Configuration Parameters Example
Similarly you can change the other parameters also. The following table lists the configurable parameters of the ISD chart and their default values:
Parameter
Description
Default
imagePullSecret
Name of the image pull secret to fetch oes docker images from private registry
opsmxdev-secret
imageCredentials.registry
The registry where OES docker images are available
https://index.docker.io/v1/
imageCredentials.username
Username of docker account to access docker registry
dockerID
imageCredentials.password
Password of docker account
dockerPassword
imageCredentials.email
Email associated with docker account
rbac.create
Enable or disable rbac
true
installSpinnaker
If true, install Spinnaker along with OES Extensions
true
installationMode
The installation mode. Available installation modes are OES-AP (both OES 3.0 and Autopilot), OES (Only OES 3.0) and AP (Only Autopilot) and None (Skip OES installation)
OES-AP
createIngress
If true, exposes Spinnaker deck & gate services over Ingress
false
oesUI.protocol
Change this to https if TLS is enabled for ingress endpoint
http
oesUI.host
Host using which UI needs to be accessed
oes.domain.com
k8sServiceType
Service Type of oes-ui, oes-gate, spin-deck-ui, spin-gate
LoadBalancer
installRedis
If false, OES will uninstall its own Redis for caching
false
redis.url
Set custom URL if installRedis is set to false
redis://{{ .Release.Name }}-redis-master:6379
db.enabled
Set it to false if OpsMx DB is already installed on cluster or if any external database is to be used.
true
db.url
URL of the external DB if not using OpsMx DB.
jdbc:postgresql://oes-db:5432/opsmx
db.storageMountSize
Storage to be allocated to OpsMx DB
8Gi
autopilot.config.buildAnalysis.enabled
Set it to false to disable build analysis
false
autopilot.config.ssl.enabled
Set it to true to enable SSL
false
After you have changed the above mentioned properties as per your requirement, install the OES package with the customized values.yaml file to apply the changes. To do so, execute the following command:
1
helm install my-release opsmx/oes -f values.yaml
Copied!
Copy link