Skip to content

Instantly share code, notes, and snippets.

@jvasallo
Created July 28, 2022 16:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jvasallo/80bc82f5c88b3d957ac4a8f4be3c1b0f to your computer and use it in GitHub Desktop.
Save jvasallo/80bc82f5c88b3d957ac4a8f4be3c1b0f to your computer and use it in GitHub Desktop.
Spinnaker GCE Ingress Backend/FrontendConfig
# https://cloud.google.com/kubernetes-engine/docs/how-to/ingress-features#create_service
apiVersion: cloud.google.com/v1
kind: BackendConfig
metadata:
name: spin-deck-hc-config
namespace: spinnaker
spec:
healthCheck:
checkIntervalSec: 15
timeoutSec: 5
type: HTTP
requestPath: /prod-favicon.ico
---
apiVersion: cloud.google.com/v1
kind: BackendConfig
metadata:
name: spin-gate-hc-config
namespace: spinnaker
spec:
healthCheck:
checkIntervalSec: 15
timeoutSec: 5
type: HTTP
requestPath: /api/v1/health
iap:
enabled: true
oauthclientCredentials:
secretName: <<SPINNAKER IAP K8S SECRETNAME>>
---
apiVersion: networking.gke.io/v1beta1
kind: FrontendConfig
metadata:
name: spin-ingress-frontend-config
namespace: spinnaker
spec:
redirectToHttps:
enabled: true
responseCodeName: "302"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment