Skip to content

Kustomize files for configuring and deploying spinnaker using the spinnaker operator

Notifications You must be signed in to change notification settings

kkotula/spinnaker-kustomize-patches

 
 

Repository files navigation

Kustomize patches for configuring Armory Continuous Deployment

This repository contains example Kustomize resources to configure and deploy Armory Continuous Deployment to your Kubernetes cluster using the Armory Operator.

Disclaimer

The example configurations provided in this repository serve as a starting point for configuring Armory Continuous Deployment. You may need to modify the contents for the target environment to work properly. These examples are not exhaustive and don't showcase all available combinations of settings. It's possible that not all configurations work with all versions of Armory Continuous Delivery.

System Requirements

See our System Requirements page for more details.

All-in-one deployment script

This repo provides a one-click deploy.sh script that deploys the Armory Operator in cluster mode and then Armory Continuous Deployment. This is useful for a proof of concept, but you should not use this script in a production environment.

Clone this repository and run ./deploy.sh.

The script does the following:

  • Deploys the Armory Operator to the spinnaker-operator namespace.
  • Deploys a basic Armory Continuous Deployment instance with some default integrations to the spinnaker namespace.

If you already have the Armory Operator deployed, you can use SPIN_OP_DEPLOY=0 to specify not to deploy the Operator.

Deploy open source Spinnaker

You can use deploy.sh to deploy Spinnaker instead of Armory Continuous Delivery.

SPIN_FLAVOR=oss ./deploy.sh

When you specify SPIN_FLAVOR=oss , the script does the following:

  • Modifies relevant patch files, replacing apiVersion: spinnaker.armory.io/v1alpha2 with apiVersion: spinnaker.io/v1alpha2.
  • Deploys the open source Spinnaker Operator to the spinnaker-operator namespace.
  • Deploys a basic of Spinnaker to the spinnaker namespace.

Add remote clusters script

For adding remote Kubernetes clusters to Armory Continuous Deployment, you can use the helper script secrets/create-kubeconfig.sh to create a Kubernetes service account (with cluster admin role) and its corresponding kubeconfig file for Armory Continuous Deployment to use.

About

Kustomize files for configuring and deploying spinnaker using the spinnaker operator

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 98.1%
  • Open Policy Agent 1.9%