diff --git a/charts/mychart/.helmignore b/charts/mychart/.helmignore new file mode 100644 index 0000000..0e8a0eb --- /dev/null +++ b/charts/mychart/.helmignore @@ -0,0 +1,23 @@ +# Patterns to ignore when building packages. +# This supports shell glob matching, relative path matching, and +# negation (prefixed with !). Only one pattern per line. +.DS_Store +# Common VCS dirs +.git/ +.gitignore +.bzr/ +.bzrignore +.hg/ +.hgignore +.svn/ +# Common backup files +*.swp +*.bak +*.tmp +*.orig +*~ +# Various IDEs +.project +.idea/ +*.tmproj +.vscode/ diff --git a/charts/mychart/Chart.lock b/charts/mychart/Chart.lock new file mode 100644 index 0000000..d68824b --- /dev/null +++ b/charts/mychart/Chart.lock @@ -0,0 +1,6 @@ +dependencies: +- name: common + repository: https://library-charts.truecharts.org + version: 14.0.6 +digest: sha256:df8345d83abf40d549397019a3910f2b06630fdcbdbd02a790a0e60bac8b7139 +generated: "2023-09-25T01:00:03.847965342Z" diff --git a/charts/mychart/Chart.yaml b/charts/mychart/Chart.yaml new file mode 100644 index 0000000..23e1bdd --- /dev/null +++ b/charts/mychart/Chart.yaml @@ -0,0 +1,29 @@ +apiVersion: v2 +kubeVersion: ">=1.16.0-0" +name: mychart +version: 4.0.3 +appVersion: 1.0.0 +description: CHARTNAME App for TrueNAS SCALE +type: application +deprecated: false +home: https://github.com/truecharts/charts/tree/master/charts/stable/CHARTNAME +icon: https://raw.githubusercontent.com/truecharts/charts/master/stable/CHARTNAME/icon.png?raw=true +keywords: + - CHARTNAME +sources: + - https://github.com/truecharts/charts/tree/master/charts/CHARTNAME +dependencies: +- name: common + repository: https://library-charts.truecharts.org + version: 14.0.6 + # condition: +maintainers: +- email: info@truecharts.org + name: TrueCharts + url: https://truecharts.org +annotations: + truecharts.org/catagories: | + - media + - test + truecharts.org/SCALE-support: "true" + truecharts.org/grade: U diff --git a/charts/mychart/charts/common-14.0.6.tgz b/charts/mychart/charts/common-14.0.6.tgz new file mode 100644 index 0000000..d8a3fab Binary files /dev/null and b/charts/mychart/charts/common-14.0.6.tgz differ diff --git a/charts/mychart/item.yaml b/charts/mychart/item.yaml new file mode 100644 index 0000000..8e9feaf --- /dev/null +++ b/charts/mychart/item.yaml @@ -0,0 +1,3 @@ +categories: + - generic +icon_url: "http://ix_url" diff --git a/charts/mychart/questions.yaml b/charts/mychart/questions.yaml new file mode 100644 index 0000000..006c0f9 --- /dev/null +++ b/charts/mychart/questions.yaml @@ -0,0 +1,36 @@ +groups: + - name: "Container Images" + description: "Image to be used for container" +questions: + - variable: 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" diff --git a/charts/mychart/templates/common.yaml b/charts/mychart/templates/common.yaml new file mode 100644 index 0000000..754fc72 --- /dev/null +++ b/charts/mychart/templates/common.yaml @@ -0,0 +1,8 @@ +{{- include "tc.v1.common.loader.init" . }} + +{{- if .Values.autodiscovery.enabled -}} +{{/* Add proxy workload */}} +{{- $_ := set .Values.workload.broadcastproxy "enabled" true -}} +{{- end -}} + +{{- include "tc.v1.common.loader.apply" . -}} diff --git a/charts/mychart/values.yaml b/charts/mychart/values.yaml new file mode 100644 index 0000000..0ce079c --- /dev/null +++ b/charts/mychart/values.yaml @@ -0,0 +1,3 @@ +favorite: + # drink: coffee + food: pizza