Skip to content

Instantly share code, notes, and snippets.

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 socketwench/46b5a3cdbe7d604264ee122619d712b0 to your computer and use it in GitHub Desktop.
Save socketwench/46b5a3cdbe7d604264ee122619d712b0 to your computer and use it in GitHub Desktop.
Flightdeck Cluster snippet to set up a subpath redirect
- name: Create ingress for jquery_countdown_background redirects
include_role:
name: "ten7.flightdeck_cluster"
vars:
flightdeck_cluster_kubeconfig: "{{ _run_temp_dir.path }}/kubectl.yaml"
flightdeck_cluster:
namespace: "ten7-com"
ingress:
name: "jquery-countdown-background-redirects"
permanentRedirect: "https://github.com/ten7/jquery_countdown_background"
rewriteTarget: "/"
tlsIssuer: "lets-encrypt-ops-at-ten7-com"
rules:
- host: "ten7.com"
paths:
- path: "/content/jquery-countdown-background-and-overlay"
backend: "web"
port: "6081"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment