homedepot / spingo Goto Github PK
View Code? Open in Web Editor NEWA collection of Terraform and bash scripts to setup an enterprise-grade Spinnaker deployment on Google Cloud Platform
License: Apache License 2.0
A collection of Terraform and bash scripts to setup an enterprise-grade Spinnaker deployment on Google Cloud Platform
License: Apache License 2.0
upgrades take too long. We should just bump the version in spingo when we want to take the time to upgrade instead of having to manually pin the version every time we rerun the spinnaker directory terraform
according to the terraform template docs, the terraform module is old hat and we should use the built in templatefile instead.
It should be fairly simple to make the change.
Is your feature request related to a problem? Please describe.
This repo should have automated CI for commits. As it is mostly terraform-based, a terraform validate
should be part of the automation
Describe the solution you'd like
Create a script that will:
.auto.tfvars
files in each of the terraform top-level directories (certbot, dns, halyard. spinnaker)override.tf
files in each of the terraform top-level directories (certbot, dns, halyard. spinnaker)terraform init
followed by terraform validate
at some point code that looks roughly like this needs to be deployed to get nginx load balancing in front of the x509
echo "Creating Gate x509 API Service for deployment named sandbox-us-central1"
cat <<SVC_EOF | kubectl --kubeconfig="/spinnaker/.kube/sandbox-us-central1.config" apply -f -
apiVersion: v1
kind: Service
metadata:
labels:
app: spin
cluster: spin-gate
name: spin-gate-spin-api
namespace: spinnaker
spec:
ports:
- name: x509
port: 8085
protocol: TCP
targetPort: 8085
selector:
app: spin
cluster: spin-gate
type: ClusterIP
SVC_EOF
echo "Creating Gate x509 API Ingress for deployment named sandbox-us-central1"
cat <<ING_EOF | kubectl --kubeconfig="/spinnaker/.kube/sandbox-us-central1.config" apply -f -
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
annotations:
kubernetes.io/ingress.class: nginx
nginx.ingress.kubernetes.io/backend-protocol: HTTPS
nginx.ingress.kubernetes.io/ssl-passthrough: "true"
nginx.ingress.kubernetes.io/ssl-redirect: "true"
labels:
app: spin
cluster: spin-gate
name: spin-gate-spin-api
namespace: spinnaker
spec:
rules:
- host: spin-api.spinnaker.example.com
http:
paths:
- backend:
serviceName: spin-gate-spin-api
servicePort: 8085
path: /
tls:
- hosts:
- spin-api.spinnaker.example.com
ING_EOF
thanks to @dmrogers7 for finding the code that will do it.
Currently, if there is infrastructure created by terraform, future invocations of terraform will require:
01-create-terraform-service-account.sh
scriptDescribe the solution you'd like
v2 is depricated.
All files and folders in spingo
should follow a convention - it has been chosen to be kebab-case
.
A github action should be created that checked all files and folder names recursively, failing if any file or folder is not kebab-case
.
The vault injector has a namespace selector on the label sidecar-injector=enabled
. The spinnaker
namespace in the main and agent clusters should be labeled with this to allow the vault injector to work in these namespaces.
upon attempting to access a new spingo installation, I am plagued with needing to prepend https:// to all of my urls. This is taxing on both the mind and the body.
I would find it quite helpful if within the load balancers, there was a request upgrader that told connecting clients to upgrade to https.
people discuss a situation similar to what I would like here
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.