oes

by OpsMx

Helm chartv4.0.32App 2025.10.01Verified publisher

ISD and Spinnaker with cve v1.33.3 SAML2 Configuration

About this chart

OpsMx Enterprise for Spinnaker

OpsMx Enterprise for Spinnaker is an installation bundle that includes the open source Spinnaker and OpsMx extensions on top of it.

For more information, visit https://www.opsmx.com

TL;DR;

Install OpsMx Enterprise for Spinnaker

$ helm repo add opsmx https://helmcharts.opsmx.com/
$ helm install <release-name> opsmx/oes --set imageCredentials.username=<dockerID> --set imageCredentials.password=<dockerPassword>

Spinnaker + OpsMx Enterprise for Spinnaker Extensions (OES) Setup Instructions

Prerequisites

  • Kubernetes cluster 1.19 or later with at least 6 cores and 20 GB memory
  • Helm 3 is setup on client system
    $ helm version
    
    If helm is not setup, follow https://helm.sh/docs/intro/install/ to install helm.

Installing the OpsMx Enterprise for Spinnaker Extensions (OES) Spinnaker Chart

  • Add opsmx helm repo to your local machine

    $ helm repo add opsmx https://helmcharts.opsmx.com/
    

    Note: If opsmx helm repo is already added, do a repo update before installing the chart

    $ helm repo update
    
  • Your Kubernetes cluster shall support persistent volumes

  • It is assumed that an nginx ingress controller is installed on the cluster, by default ingress resources are created for oes-ui, oes-gate, spin-deck and spin-gate services. Customize the hosts for OES using the options in the values.yaml under global.oesUI, oesGate, spinDeck, spinGate. If any other ingress controller is installed, set createIngress flag to false and configure your ingress.

  • To enable mutual TLS for Spinnaker Services and SSL features provided by Spinnaker Life Cycle Management (LCM), it is required to install nginx ingress from kubernetes community and cert-manager before installing OES. Please refer the table below for options to be enabled for LCM Instructions to install nginx ingress https://kubernetes.github.io/ingress-nginx/deploy/

    Instructions to install cert-manager https://cert-manager.io/docs/installation/kubernetes/

  • Helm v3 expects the namespace to be present before helm install command is run. If it does not exists,

    $ kubectl create namespace mynamespace
    
  • To install the chart with the release name my-release:

    Helm v3.x

    $ helm install my-release opsmx/oes [--namespace mynamespace]
    

The command deploys OES on the Kubernetes cluster in the default configuration. The configuration section lists the parameters that can be configured during installation.

Tip: List all releases using helm list

Uninstalling the Chart

To uninstall/delete the my-release deployment:

Helm v3.x

$ helm uninstall my-release [--namespace mynamespace]

The command removes all the Kubernetes components associated with the chart and deletes the release.

Configuration

The following table lists the configurable parameters of the OES chart and their default values.

ParameterDescriptionDefault
imagePullSecretName of the image pull secret to fetch oes docker images from private registryopsmxdev-secret
imageCredentials.registryThe registry where OES docker images are availablehttps://index.docker.io/v1/
rbac.createEnable or disable rbactrue
installSpinnakerIf true, install Spinnaker along with OES Extensionstrue
installationModeThe installation mode. Available installation modes are OES-AP (for OES that includes Autopilot) and None(Skip OES installation) and EASY installation on minikube or microk8sOES-AP
global.certManager.installedDisable this flag if cert-manager is not installed, when set to true issuer and TLS certs for ingress are automatically createdtrue
global.createIngressIf true, exposes OES ui & gate services over Ingressfalse
global.spinDeck.protocolChange this to https if TLS is enabled for ingress endpointhttp
global.spinDeck.hostHost using which spinnaker deck needs to be accessedspinnaker.example.org
global.spinDeck.ingress.annotationsAnnotations for deck ingress resource``
global.spinDeck.ingress.tls.secretNameChange this value if your own certificate is put into a specific secretdeck-authtls
global.spinGate.protocolChange this to https if TLS is enabled for ingress endpointhttp
global.spinGate.hostHost using which spinnaker gate needs to be accessedgate.spinnaker.example.org
global.spinGate.ingress.annotationsAnnotations for spinnaker gate ingress resource``
global.spinGate.ingress.tls.secretNameChange this value if your own certificate is put into a specific secretgate-authtls
global.oesUI.protocolChange this to https if TLS is enabled for ingress endpointhttp
global.oesUI.hostHost using which UI needs to be accessedoes.domain.com
global.oesGate.protocolChange this to https if TLS is enabled for ingress endpointhttp
global.oesGate.hostHost using which Gate needs to be accessedoes-api.domain.com
global.enableCentralMonitoringEnable monitoring for Spinnakerfalse
k8sServiceTypeService Type of oes-ui, oes-gate, spin-deck-ui, spin-gateLoadBalancer
installRedisIf true, OES will install its own Redis for caching. This option is mutually exclusive with installSpinnakerfalse
redis.urlSet custom URL if installRedis is set to falseredis://{{ .Release.Name }}-redis-master:6379
db.enabledSet it to false if OpsMx DB is already installed on cluster or if any external database is to be used.true
db.urlURL of the external DB if not using OpsMx DB.jdbc:postgresql://oes-db:5432/opsmx
db.storageMountSizeStorage to be allocated to OpsMx DB8Gi
autopilot.config.buildAnalysis.enabledSet it to false to disable build analysisfalse
autopilot.config.ssl.enabledSet it to true to enable SSLfalse
autopilot.config.ssl.keystoreSSL keystore valuekeystore.p12
autopilot.config.ssl.keyStorePasswordSSL keystore passworddummypwd
autopilot.config.ssl.keyStoreTypeSSL keystore typePKCS12
autopilot.config.ssl.keyAliasSSL key aliastomcat
dashboard.spinnakerLinkSpecify if dashboard needs to be configured with a different spinnaker{{ .Values.spinnaker.ingress.protocol }}://{{ .Values.spinnaker.ingress.host }}
gate.config.global.oesUIcorsRegex of OES-UI URL to prevent cross origin attacks`^https?://(?:localhost
gate.config.fileBasedAuthenticationSet it to true to disable LDAP authentication and enable file based authenticationfalse
gate.config.samlSAML configuration for oes gate authn and authz``
gate.config.saml.jksSecretNameSet this value to use an existing secret in which saml jks existsoes-saml-jks
gate.config.saml.metadataSecretNameSet this value to use an existing secret in which saml metadata existsmetadata-xml
gate.config.oauth2OAuth2 configuration for oes gate authn and authz``
platform.config.adminGroupsAdmin groups availableadmin, Administrators
platform.config.userSourceSource of Users for authorizationldap
platform.config.supportedFeaturesList of featues to be supported by OES[deployment_verification, sapor, visibility]
sapor.config.spinnaker.authnEnabledSet it to true if authentication is enabled in Spinnakerfalse
sapor.config.spinnaker.spinGateURLURL of Spinnaker Gatehttp://spin-gate.oes-spin:8084
sapor.config.spinnaker.spinExternalGateURLBy default this is set to spinnaker installed in the same namespace; change this when different spinnaker needs to be configured with sapor{{ .Values.spinnaker.ingress.protocol }}://{{ .Values.spinnaker.ingress.host }}
sapor.config.spinnaker.ldap.ldapEnabledIs LDAP authn enabled for spinnakertrue
sapor.config.spinnaker.ldap.ldapUsernameSpinnaker usernameadmin
sapor.config.spinnaker.ldap.ldapPasswordSpinnaker passwordopsmxadmin123
sapor.config.spinnaker.x509.enabledIs x509 cert authn enabled for spinnakerfalse
sapor.config.spinnaker.x509.client.passwordPassword of x509 client certificatechangeit
sapor.config.kubernetes.agent.enabledOption to enable oes kubernetes agenttrue
sapor.config.caCerts.overrideIf default java certs are to be overwritten, create custom config map 'oes-sapor-cacerts.yaml' under templates and set this option to truefalse
ui.config.setApplicationRefreshIntervalInterval at which UI refreshes application dashboard16000
visibility.config.configuredConnectorsIntegrations optionsJIRA,GIT,AUTOPILOT,SONARQUBE,JENKINS,AQUAWAVE
visibility.config.logLevelDefault Log LevelERROR
global.autoConfiguration.enabledOption enables OES to be configured automatically. Load Balancer IPs will be automatically replaced in the configuration files of oes-gate, oes-ui & sapor. Set it to false if OES is being installed on restricted environment.true
global.autoConfiguration.initContainer.externalIpCheckDelayExpected delay in assigning load balancer IPs to oes-ui & oes-gate in secs180
opa.enabledEnable OPA with OEStrue
installOpenLdapIf true, installs Open LDAP serverfalse
openldap.adminPasswordPassword to be set for admin user of LDAPopsmxadmin123
ldap.enabledSet it to true if LDAP is to be enabled for OEStrue
ldap.urlURL of LDAP serverldap://{{ .Release.Name }}-openldap:389
spinnaker.enableHAEnable HA for orca & echotrue
spinnaker.gitopsHalyard.enabledEnable gitops style halyard & account configfalse
spinnaker.gitopsHalyard.mTLS.enabledEnable mTLS for Spinnaker Services and SSL for Deck and Gatefalse
spinnaker.gitopsHalyard.mTLS.deckIngressHostIngress host for deckspindeck.{{ .Release.Name }}.domain.com
spinnaker.gitopsHalyard.mTLS.gateIngressHostIngress host for gatespingate.{{ .Release.Name }}.domain.com
spinnaker.gitopsHalyard.repo-typeRepo type; git, s3, vaultgit
spinnaker.gitopsHalyard.secretNameSecret in which git credentials shall be specified, sample secret found under templates/secrets/opsmx-gitops-auth
spinnaker.gitopsHalyard.spinnakerLBCheckDelayTimeout while fetching LB IPs of spin-deck and spin-gate to configure in hal config in seconds180
spinnaker.gitopsHalyard.gatex509.enabledFlag to enable x509 authentication for gate and use it for webhooksfalse
spinnaker.gitopsHalyard.gatex509.hostSeparate host for using x509 authenticationspingate-x509.domain.com
spinnaker.gitopsHalyard.pipelinePromotion.enabledTo Enable pipeline promotion from one env to anotherfalse
spinnaker.spinCliAuthn credentials to enable spin-cli container to automatically populate sample pipelines while spinnaker is starting up``

Tip: Refer to values.yaml for detailed comments

Tip: Refer to Spinnaker helm chart & EFK helm chart for their configuration details.

Specify each parameter using the --set key=value[,key=value] argument to helm install. For example,

$ helm install my-release opsmx/oes --set installSpinnaker=false --set installRedis=true --set imageCredentials.username=username \
--set imageCredentials.password=password [--namespace mynamespace]

Alternatively, a YAML file that specifies the values for the above parameters can be provided while installing the chart. For example, OES values.yaml can be first downloaded using below command and then customized.

wget https://raw.githubusercontent.com/opsmx/enterprise-spinnaker/master/charts/oes/values.yaml

Helm v3.x

$ helm install my-release opsmx/oes -f values.yaml

Connecting to Spinnaker and OpsMx Enterprise Extensions

Connecting to Spinnaker

Once the service is up and running, find the service ip address

kubectl get svc spin-deck-np [--namespace mynamespace]

Example output would be:

  NAME           TYPE           CLUSTER-IP     EXTERNAL-IP   PORT(S)          AGE
  spin-deck-np   LoadBalancer   10.0.139.222   40.78.4.201   9000:31030/TCP   8m9s

Using the EXTERNAL-IP address, go to http://EXTERNAL-IP:9000/

Connecting to OpsMx Enterprise for Spinnaker Extensions(OES)

Once the service is up and running, find the service ip address

kubectl get svc oes-ui [--namespace mynamespace]

Example output would be:

NAME        TYPE              CLUSTER-IP      EXTERNAL-IP     PORT(S)         AGE
oes-ui      LoadBalancer      10.0.33.110     52.149.54.222   80:30860/TCP    20m

Using the EXTERNAL-IP address, go to http://EXTERNAL-IP:80/

You can login with dummysuer/dummypwd

Enabling centralized logging

Spinnaker consists of multiple microservices and you need to connect to each microservice to see what is going on. We have enabled elasticsearch, fluentbit and kibana to provide a centralized logging solution for Spinnaker. To enable it, you need to install with the flag

    --set enableCentralLogging=true

Note, that out-of-the-box configuration of the service requires addition 2G of memory and 1 core. To get the hostname for Kibana, run

    kubectl get svc [--namespace mynamespace]

and find the service with Kibana in the name. Example output would be:

  NAME               TYPE           CLUSTER-IP   EXTERNAL-IP     PORT(S)      AGE
  somename-kibana    LoadBalancer   10.0.4.246   34.66.226.138   5601:32097   9m43s

Using the EXTERNAL-IP address, go to http://EXTERNAL-IP:5601

In Kibana, go to Discover -> Open -> Spinnaker Logs to see logs from Spinnaker pods.

Deploy oes with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has oes on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartoes is pinned at v4.0.32 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below
opentenant validate opentenant.yaml
terraform init && terraform apply