appmanager-api: headscale
diff --git a/core/installer/app.go b/core/installer/app.go
index 85f7dfc..7d60aa3 100644
--- a/core/installer/app.go
+++ b/core/installer/app.go
@@ -230,6 +230,6 @@
tmpls.Lookup("headscale.yaml"),
},
string(schema),
- nil,
+ tmpls.Lookup("headscale.md"),
}
}
diff --git a/core/installer/values-tmpl/headscale.jsonschema b/core/installer/values-tmpl/headscale.jsonschema
index ec6a2c5..a7ccc8d 100644
--- a/core/installer/values-tmpl/headscale.jsonschema
+++ b/core/installer/values-tmpl/headscale.jsonschema
@@ -1,15 +1,7 @@
{
"type": "object",
"properties": {
- "Values": {
- "type": "object",
- "properties": {
- "NamespacePrefix": { "type": "string" },
- "Id": { "type": "string" },
- "Domain": { "type": "string" }
- },
- "additionalProperties": false
- }
+ "Subdomain": { "type": "string" }
},
"additionalProperties": false
}
diff --git a/core/installer/values-tmpl/headscale.md b/core/installer/values-tmpl/headscale.md
new file mode 100644
index 0000000..1dec9d9
--- /dev/null
+++ b/core/installer/values-tmpl/headscale.md
@@ -0,0 +1 @@
+Will install headscale VPN service on https://{{ .Values.Subdomain }}.{{ .Global.Domain }}
diff --git a/core/installer/values-tmpl/headscale.yaml b/core/installer/values-tmpl/headscale.yaml
index 807ed63..317eb68 100644
--- a/core/installer/values-tmpl/headscale.yaml
+++ b/core/installer/values-tmpl/headscale.yaml
@@ -21,4 +21,4 @@
size: 5Gi
ingressClassName: pcloud-ingress-public
certificateIssuer: {{ .Global.Id }}-public
- domain: {{ .Values.Subdomain }}.{{ .Global.Doman }}
+ domain: {{ .Values.Subdomain }}.{{ .Global.Domain }}