From e4410704b52225635fd425f068727a3fbf357ee4 Mon Sep 17 00:00:00 2001 From: Chris Date: Tue, 26 Mar 2024 12:07:06 +0200 Subject: [PATCH] Added files --- charts/dev/sthome-webhook/0.0.1/app-readme.md | 5 ++ charts/dev/sthome-webhook/item.yaml | 3 + charts/dev/sthome-webhook/questions.yaml | 63 +++++++++++++++++++ 3 files changed, 71 insertions(+) create mode 100644 charts/dev/sthome-webhook/0.0.1/app-readme.md create mode 100644 charts/dev/sthome-webhook/item.yaml create mode 100644 charts/dev/sthome-webhook/questions.yaml diff --git a/charts/dev/sthome-webhook/0.0.1/app-readme.md b/charts/dev/sthome-webhook/0.0.1/app-readme.md new file mode 100644 index 0000000..2809b30 --- /dev/null +++ b/charts/dev/sthome-webhook/0.0.1/app-readme.md @@ -0,0 +1,5 @@ + +# sthome-webhook + +sthome-webhook is a chart designed to let user deploy a cert-manager webhook docker image in a TrueNAS SCALE kubernetes cluster. +It provides a mechanism to specify workload type, add external host interfaces in the pods, configure volumes and allocate host resources to the workload. \ No newline at end of file diff --git a/charts/dev/sthome-webhook/item.yaml b/charts/dev/sthome-webhook/item.yaml new file mode 100644 index 0000000..7f722e0 --- /dev/null +++ b/charts/dev/sthome-webhook/item.yaml @@ -0,0 +1,3 @@ +icon_url: "https://gitea.sthome.net/ACME/cert-manager-webhook-sthome/src/branch/main/icon.png" +categories: + - generic diff --git a/charts/dev/sthome-webhook/questions.yaml b/charts/dev/sthome-webhook/questions.yaml new file mode 100644 index 0000000..502f2ff --- /dev/null +++ b/charts/dev/sthome-webhook/questions.yaml @@ -0,0 +1,63 @@ +groups: + - name: "Container Images" + description: "Image to be used for container" +questions: + - variable: image + label: "Docker Image" + description: "Docker Image Details" + group: "Container Images" + schema: + type: dict + required: true + attrs: + - variable: repository + description: "Docker image repository" + label: "Image repository" + schema: + type: string + required: true + - variable: tag + description: "Tag to use for specified image" + label: "Image Tag" + schema: + type: string + default: "latest" + - variable: pullPolicy + description: "Docker Image Pull Policy" + label: "Image Pull Policy" + schema: + type: string + default: "IfNotPresent" + enum: + - value: "IfNotPresent" + description: "Only pull image if not present on host" + - value: "Always" + description: "Always pull image even if present on host" + - value: "Never" + description: "Never pull image even if it's not present on host" + - variable: volume + label: "Volume" + schema: + type: dict + $ref: + - "normalize/ixVolume" + attrs: + - variable: mountPath + label: "Mount Path" + description: "Path where the volume will be mounted inside the pod" + schema: + type: path + required: true + - variable: datasetName + label: "Dataset Name" + schema: + type: string + required: true + - variable: hostInterface + description: "Please specify host interface" + label: "Host Interface" + schema: + type: string + required: true + $ref: + - "definitions/interface" \ No newline at end of file