Skip to content

Instantly share code, notes, and snippets.

@darkn3rd
Created September 18, 2022 07:35
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 darkn3rd/9d0cca9a813b42b533c762b44cf420c5 to your computer and use it in GitHub Desktop.
Save darkn3rd/9d0cca9a813b42b533c762b44cf420c5 to your computer and use it in GitHub Desktop.
GKE NSM2: ratel virtualserver
repositories:
# https://artifacthub.io/packages/helm/itscontained/raw
- name: itscontained
url: https://charts.itscontained.io
releases:
- name: ratel-virtualserver
chart: itscontained/raw
namespace: ratel
version: 0.2.5
disableValidation: true
values:
- resources:
- apiVersion: k8s.nginx.org/v1
kind: VirtualServer
metadata:
name: dgraph-http
spec:
host: ratel.{{ requiredEnv "DNS_DOMAIN" }}
tls:
secret: tls-secret
cert-manager:
cluster-issuer: {{ requiredEnv "ACME_ISSUER_NAME" }}
externalDNS:
enable: true
upstreams:
- name: ratel
service: dgraph-ratel
port: 80
routes:
- path: /
action:
pass: ratel
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment