Giter VIP home page Giter VIP logo

spingo's Issues

pin gke cluster version

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

x509 auth needs to go through nginx load balancer

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.

Add CI

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:

  • temporarily create necessary .auto.tfvars files in each of the terraform top-level directories (certbot, dns, halyard. spinnaker)
  • temporarily create necessary override.tf files in each of the terraform top-level directories (certbot, dns, halyard. spinnaker)
  • for each of the terraform directories, run terraform init followed by terraform validate

save & restore the local terraform config files

Currently, if there is infrastructure created by terraform, future invocations of terraform will require:

  • leveraging existing various local tfvars files and overrides.tf file(s) which as .gitignored
  • re-creation of the various local tfvars files and overrides.tf file(s) via the 01-create-terraform-service-account.sh script

Describe the solution you'd like

  • backup & restoration of the various local tfvars files and overrides.tf file(s) from some external source (maybe a vault instance or a bucket)

have loadbalancers upgrade http requests to https requests by default.

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.