-
Notifications
You must be signed in to change notification settings - Fork 0
/
README.md.gotmpl
43 lines (31 loc) · 1.28 KB
/
README.md.gotmpl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
{{ template "chart.header" . }}
{{ template "chart.deprecationWarning" . }}
{{ template "chart.versionBadge" . }}{{ template "chart.typeBadge" . }}{{ template "chart.appVersionBadge" . }}
{{ template "chart.description" . }}
### Example Usage
1. Add the skipper as a [Helm Chart Dependency](https://helm.sh/docs/helm/helm_dependency/)
```yaml
- name: skipper
alias: my-service-proxy
version: "1.0.0" # or put the latest version number here
repository: "oci://ghcr.io/magda-io/charts"
```
> Please note: `alias` field is optional. Its purpose is to give the helm chart an alias name (rather than the default `skipper`) so it's possible to use `skipper` chart multiple times in your deployment.
2. Config the proxy via "values" file
```yaml
my-service-proxy:
service:
# set the service name. This DNS name would be avialble within cluster
# by default, it would be release name + - + alias name
name: service-access-name
routes: |
myRoutes:
* -> setRequestHeader("my header", "xxxxxx")
-> setPath("/v1${request.path}")
-> preserveHost("false")
-> "https://xxxxx.xxxx.com";
```
{{ template "chart.maintainersSection" . }}
{{ template "chart.requirementsSection" . }}
{{ template "chart.valuesHeader" . }}
{{ template "chart.valuesTable" . }}