Răsfoiți Sursa

Publish new changes in catalog

sonicaj 1 an în urmă
părinte
comite
fb432b7fc7
100 a modificat fișierele cu 1095 adăugiri și 577 ștergeri
  1. 0 0
      charts/collabora/2.0.2/.helmignore
  2. 0 0
      charts/collabora/2.0.2/Chart.lock
  3. 1 1
      charts/collabora/2.0.2/Chart.yaml
  4. 0 0
      charts/collabora/2.0.2/README.md
  5. 0 0
      charts/collabora/2.0.2/app-readme.md
  6. 0 0
      charts/collabora/2.0.2/charts/common-1.2.9.tgz
  7. 0 0
      charts/collabora/2.0.2/ci/basic-values.yaml
  8. 0 0
      charts/collabora/2.0.2/ci/https-values.yaml
  9. 0 0
      charts/collabora/2.0.2/ix_values.yaml
  10. 0 0
      charts/collabora/2.0.2/metadata.yaml
  11. 2 2
      charts/collabora/2.0.2/migrations/migrate
  12. 0 0
      charts/collabora/2.0.2/questions.yaml
  13. 0 0
      charts/collabora/2.0.2/templates/NOTES.txt
  14. 0 0
      charts/collabora/2.0.2/templates/_collabora.tpl
  15. 0 0
      charts/collabora/2.0.2/templates/_configuration.tpl
  16. 0 0
      charts/collabora/2.0.2/templates/_migration.tpl
  17. 0 0
      charts/collabora/2.0.2/templates/_nginx.tpl
  18. 0 0
      charts/collabora/2.0.2/templates/_persistance.tpl
  19. 0 0
      charts/collabora/2.0.2/templates/_portal.tpl
  20. 0 0
      charts/collabora/2.0.2/templates/_service.tpl
  21. 0 0
      charts/collabora/2.0.2/templates/common.yaml
  22. 0 6
      charts/netdata/1.0.40/Chart.lock
  23. 0 10
      charts/netdata/1.0.40/README.md
  24. BIN
      charts/netdata/1.0.40/charts/common-2304.0.1.tgz
  25. 0 38
      charts/netdata/1.0.40/ci/test-values.yaml
  26. 0 6
      charts/netdata/1.0.40/ix_values.yaml
  27. 0 253
      charts/netdata/1.0.40/questions.yaml
  28. 0 32
      charts/netdata/1.0.40/templates/_helpers.tpl
  29. 0 25
      charts/netdata/1.0.40/templates/clusterrole.yaml
  30. 0 17
      charts/netdata/1.0.40/templates/clusterrolebinding.yaml
  31. 0 103
      charts/netdata/1.0.40/templates/deployment.yaml
  32. 0 34
      charts/netdata/1.0.40/templates/pre-install-job.yaml
  33. 0 6
      charts/netdata/1.0.40/templates/service.yaml
  34. 0 9
      charts/netdata/1.0.40/templates/serviceaccount.yaml
  35. 0 0
      charts/netdata/2.0.0/.helmignore
  36. 6 0
      charts/netdata/2.0.0/Chart.lock
  37. 5 3
      charts/netdata/2.0.0/Chart.yaml
  38. 3 0
      charts/netdata/2.0.0/README.md
  39. 2 0
      charts/netdata/2.0.0/app-readme.md
  40. BIN
      charts/netdata/2.0.0/charts/common-1.2.9.tgz
  41. 10 0
      charts/netdata/2.0.0/ci/basic-values.yaml
  42. 34 0
      charts/netdata/2.0.0/ix_values.yaml
  43. 5 21
      charts/netdata/2.0.0/metadata.yaml
  44. 87 0
      charts/netdata/2.0.0/migrations/migrate
  45. 530 0
      charts/netdata/2.0.0/questions.yaml
  46. 0 0
      charts/netdata/2.0.0/templates/NOTES.txt
  47. 35 0
      charts/netdata/2.0.0/templates/_migration.tpl
  48. 53 0
      charts/netdata/2.0.0/templates/_netdata.tpl
  49. 86 0
      charts/netdata/2.0.0/templates/_persistence.tpl
  50. 12 0
      charts/netdata/2.0.0/templates/_portal.tpl
  51. 30 0
      charts/netdata/2.0.0/templates/_rbac.tpl
  52. 15 0
      charts/netdata/2.0.0/templates/_service.tpl
  53. 14 0
      charts/netdata/2.0.0/templates/common.yaml
  54. 0 0
      community/ddns-updater/1.0.27/Chart.lock
  55. 2 2
      community/ddns-updater/1.0.27/Chart.yaml
  56. 0 0
      community/ddns-updater/1.0.27/README.md
  57. 0 0
      community/ddns-updater/1.0.27/app-readme.md
  58. 0 0
      community/ddns-updater/1.0.27/charts/common-1.2.9.tgz
  59. 0 0
      community/ddns-updater/1.0.27/ci/aliyun-values.yaml
  60. 0 0
      community/ddns-updater/1.0.27/ci/allinkl-values.yaml
  61. 0 0
      community/ddns-updater/1.0.27/ci/cloudflare-values.yaml
  62. 10 9
      community/ddns-updater/1.0.27/ci/config-values.yaml
  63. 0 0
      community/ddns-updater/1.0.27/ci/dd24-values.yaml
  64. 0 0
      community/ddns-updater/1.0.27/ci/ddnss-values.yaml
  65. 18 0
      community/ddns-updater/1.0.27/ci/desec-values.yaml
  66. 0 0
      community/ddns-updater/1.0.27/ci/digitalocean-values.yaml
  67. 0 0
      community/ddns-updater/1.0.27/ci/dnsomatic-values.yaml
  68. 0 0
      community/ddns-updater/1.0.27/ci/dnspod-values.yaml
  69. 0 0
      community/ddns-updater/1.0.27/ci/dondominio-values.yaml
  70. 0 0
      community/ddns-updater/1.0.27/ci/dreamhost-values.yaml
  71. 0 0
      community/ddns-updater/1.0.27/ci/duckdns-values.yaml
  72. 0 0
      community/ddns-updater/1.0.27/ci/dyndns-values.yaml
  73. 0 0
      community/ddns-updater/1.0.27/ci/dynu-values.yaml
  74. 0 0
      community/ddns-updater/1.0.27/ci/dynv6-values.yaml
  75. 19 0
      community/ddns-updater/1.0.27/ci/easydns-values.yaml
  76. 0 0
      community/ddns-updater/1.0.27/ci/freedns-values.yaml
  77. 0 0
      community/ddns-updater/1.0.27/ci/gandi-values.yaml
  78. 0 0
      community/ddns-updater/1.0.27/ci/gcp-values.yaml
  79. 0 0
      community/ddns-updater/1.0.27/ci/godaddy-values.yaml
  80. 19 0
      community/ddns-updater/1.0.27/ci/goip-values.yaml
  81. 0 0
      community/ddns-updater/1.0.27/ci/google-values.yaml
  82. 0 0
      community/ddns-updater/1.0.27/ci/he-values.yaml
  83. 20 0
      community/ddns-updater/1.0.27/ci/hetzner-values.yaml
  84. 0 0
      community/ddns-updater/1.0.27/ci/infomaniak-values.yaml
  85. 0 0
      community/ddns-updater/1.0.27/ci/inwx-values.yaml
  86. 18 0
      community/ddns-updater/1.0.27/ci/ionos-values.yaml
  87. 0 0
      community/ddns-updater/1.0.27/ci/linode-values.yaml
  88. 0 0
      community/ddns-updater/1.0.27/ci/luadns-values.yaml
  89. 0 0
      community/ddns-updater/1.0.27/ci/namecheap-values.yaml
  90. 20 0
      community/ddns-updater/1.0.27/ci/namecom-values.yaml
  91. 20 0
      community/ddns-updater/1.0.27/ci/netcup-values.yaml
  92. 0 0
      community/ddns-updater/1.0.27/ci/njalla-values.yaml
  93. 0 0
      community/ddns-updater/1.0.27/ci/noip-values.yaml
  94. 19 0
      community/ddns-updater/1.0.27/ci/nowdns-values.yaml
  95. 0 0
      community/ddns-updater/1.0.27/ci/opendns-values.yaml
  96. 0 0
      community/ddns-updater/1.0.27/ci/ovh-values.yaml
  97. 0 0
      community/ddns-updater/1.0.27/ci/porkbun-values.yaml
  98. 0 0
      community/ddns-updater/1.0.27/ci/selfhostedde-values.yaml
  99. 0 0
      community/ddns-updater/1.0.27/ci/servercow-values.yaml
  100. 0 0
      community/ddns-updater/1.0.27/ci/spdyn-values.yaml.yaml

+ 0 - 0
charts/collabora/2.0.1/.helmignore → charts/collabora/2.0.2/.helmignore


+ 0 - 0
charts/collabora/2.0.1/Chart.lock → charts/collabora/2.0.2/Chart.lock


+ 1 - 1
charts/collabora/2.0.1/Chart.yaml → charts/collabora/2.0.2/Chart.yaml

@@ -4,7 +4,7 @@ description: Collabora is a collaborative online office suite based on LibreOffi
 annotations:
   title: Collabora
 type: application
-version: 2.0.1
+version: 2.0.2
 apiVersion: v2
 appVersion: 23.05.8.4.1
 kubeVersion: '>=1.16.0-0'

+ 0 - 0
charts/collabora/2.0.1/README.md → charts/collabora/2.0.2/README.md


+ 0 - 0
charts/collabora/2.0.1/app-readme.md → charts/collabora/2.0.2/app-readme.md


+ 0 - 0
charts/collabora/2.0.1/charts/common-1.2.9.tgz → charts/collabora/2.0.2/charts/common-1.2.9.tgz


+ 0 - 0
charts/collabora/2.0.1/ci/basic-values.yaml → charts/collabora/2.0.2/ci/basic-values.yaml


+ 0 - 0
charts/collabora/2.0.1/ci/https-values.yaml → charts/collabora/2.0.2/ci/https-values.yaml


+ 0 - 0
charts/collabora/2.0.1/ix_values.yaml → charts/collabora/2.0.2/ix_values.yaml


+ 0 - 0
charts/collabora/2.0.1/metadata.yaml → charts/collabora/2.0.2/metadata.yaml


+ 2 - 2
charts/collabora/2.0.1/migrations/migrate → charts/collabora/2.0.2/migrations/migrate

@@ -27,8 +27,8 @@ def migrate_common_lib(values):
         # Migrate Config
         'collaboraConfig': {
             'enableWebUI': values['config']['enableWebUI'],
-            'username': values['config']['username'],
-            'password': values['config']['password'],
+            'username': values['config'].get('username', ''),
+            'password': values['config'].get('password', ''),
             'serverName': values['config']['server_name'],
             'dictionaries': [d for d in values['config']['dictionaries'].split(' ') if d],
             'extraParams': [p for p in values['config']['extra_params'].split(' ') if p],

+ 0 - 0
charts/collabora/2.0.1/questions.yaml → charts/collabora/2.0.2/questions.yaml


+ 0 - 0
charts/collabora/2.0.1/templates/NOTES.txt → charts/collabora/2.0.2/templates/NOTES.txt


+ 0 - 0
charts/collabora/2.0.1/templates/_collabora.tpl → charts/collabora/2.0.2/templates/_collabora.tpl


+ 0 - 0
charts/collabora/2.0.1/templates/_configuration.tpl → charts/collabora/2.0.2/templates/_configuration.tpl


+ 0 - 0
charts/collabora/2.0.1/templates/_migration.tpl → charts/collabora/2.0.2/templates/_migration.tpl


+ 0 - 0
charts/collabora/2.0.1/templates/_nginx.tpl → charts/collabora/2.0.2/templates/_nginx.tpl


+ 0 - 0
charts/collabora/2.0.1/templates/_persistance.tpl → charts/collabora/2.0.2/templates/_persistance.tpl


+ 0 - 0
charts/collabora/2.0.1/templates/_portal.tpl → charts/collabora/2.0.2/templates/_portal.tpl


+ 0 - 0
charts/collabora/2.0.1/templates/_service.tpl → charts/collabora/2.0.2/templates/_service.tpl


+ 0 - 0
charts/collabora/2.0.1/templates/common.yaml → charts/collabora/2.0.2/templates/common.yaml


+ 0 - 6
charts/netdata/1.0.40/Chart.lock

@@ -1,6 +0,0 @@
-dependencies:
-- name: common
-  repository: file://../../../common/2304.0.1
-  version: 2304.0.1
-digest: sha256:1ed155c6760e1166e2cb75b52bc5e81c6bdf0252c16ff5ede001157077c41670
-generated: "2023-04-24T13:40:33.182127877+03:00"

+ 0 - 10
charts/netdata/1.0.40/README.md

@@ -1,10 +0,0 @@
-Netdata
-=====
-
-[Netdata](https://www.netdata.cloud/) is a fast, easy monitoring and troubleshooting system.
-
-
-Introduction
-------------
-
-This chart bootstraps Netdata deployment on a [Kubernetes](http://kubernetes.io) cluster using the [Helm](https://helm.sh) package manager.

BIN
charts/netdata/1.0.40/charts/common-2304.0.1.tgz


+ 0 - 38
charts/netdata/1.0.40/ci/test-values.yaml

@@ -1,38 +0,0 @@
-appVolumeMounts:
-  netdatacache:
-    emptyDir: true
-    mountPath: /var/cache/netdata
-  netdataconfig:
-    emptyDir: true
-    mountPath: /etc/netdata
-  netdatalib:
-    emptyDir: true
-    mountPath: /var/lib/netdata
-dnsConfig:
-  options: []
-environmentVariables: []
-extraAppVolumeMounts: []
-global:
-  ixChartContext:
-    isInstall: true
-    isUpdate: false
-    isUpgrade: false
-    operation: INSTALL
-    storageClassName: ix-storage-class-netdata
-    upgradeMetadata: {}
-ixCertificateAuthorities: {}
-ixCertificates: {}
-ixChartContext:
-  isInstall: true
-  isUpdate: false
-  isUpgrade: false
-  operation: INSTALL
-  storageClassName: ix-storage-class-netdata
-  upgradeMetadata: {}
-ixExternalInterfacesConfiguration: []
-ixExternalInterfacesConfigurationNames: []
-ixVolumes: []
-runAsGroup: 201
-runAsUser: 201
-service:
-  nodePort: 32189

+ 0 - 6
charts/netdata/1.0.40/ix_values.yaml

@@ -1,6 +0,0 @@
-image:
-  pullPolicy: IfNotPresent
-  repository: netdata/netdata
-  tag: v1.44.1
-runAsGroup: 201
-runAsUser: 201

+ 0 - 253
charts/netdata/1.0.40/questions.yaml

@@ -1,253 +0,0 @@
-groups:
-  - name: "Container Images"
-    description: "Image to be used for container"
-  - name: "Workload Configuration"
-    description: "Configure workload deployment"
-  - name: "Netdata Configuration"
-    description: "Configure Netdata credentials"
-  - name: "Storage"
-    description: "Configure Storage for Netdata"
-  - name: "Advanced DNS Settings"
-    description: "Configure DNS settings"
-  - name: "Resource Limits"
-    description: "Set CPU/memory limits for Kubernetes Pod"
-
-portals:
-  web_portal:
-    protocols:
-      - "http"
-    host:
-      - "$node_ip"
-    ports:
-      - "$variable-service.nodePort"
-
-questions:
-  - variable: dnsConfig
-    label: "DNS Configuration"
-    group: "Advanced DNS Settings"
-    schema:
-      type: dict
-      attrs:
-        - variable: options
-          label: "DNS Options"
-          schema:
-            type: list
-            items:
-              - variable: optionsEntry
-                label: "Option Entry Configuration"
-                schema:
-                  type: dict
-                  attrs:
-                    - variable: name
-                      label: "Option Name"
-                      schema:
-                        type: string
-                        required: true
-                    - variable: value
-                      label: "Option Value"
-                      schema:
-                        type: string
-                        required: true
-
-  - variable: environmentVariables
-    label: "Netdata image environment"
-    group: "Netdata Configuration"
-    schema:
-      type: list
-      default: []
-      items:
-        - variable: environmentVariable
-          label: "Environment Variable"
-          schema:
-            type: dict
-            attrs:
-              - variable: name
-                label: "Name"
-                schema:
-                  type: string
-              - variable: value
-                label: "Value"
-                schema:
-                  type: string
-
-  - variable: service
-    description: "Netdata Service Configuration"
-    label: "Netdata Service Configuration"
-    group: "Netdata Configuration"
-    schema:
-      type: dict
-      required: true
-      attrs:
-        - variable: nodePort
-          label: "Node Port to use for Netdata UI"
-          schema:
-            type: int
-            min: 9000
-            max: 65535
-            default: 20489
-            required: true
-
-  - variable: appVolumeMounts
-    label: "Netdata Storage"
-    group: "Storage"
-    schema:
-      type: dict
-      attrs:
-        - variable: netdataconfig
-          label: "Configuration Volume"
-          schema:
-            type: dict
-            attrs:
-              - variable: datasetName
-                label: "Configuration Volume Name"
-                schema:
-                  type: string
-                  hidden: true
-                  $ref:
-                    - "normalize/ixVolume"
-                  show_if: [ [ "hostPathEnabled", "=", false ] ]
-                  default: "ix-config"
-                  editable: false
-              - variable: mountPath
-                label: "Configuration Mount Path"
-                description: "Path where the volume will be mounted inside the pod"
-                schema:
-                  type: path
-                  hidden: true
-                  editable: false
-                  default: "/etc/netdata"
-              - variable: hostPathEnabled
-                label: "Enable Host Path for Netdata Configuration Volume"
-                schema:
-                  type: boolean
-                  default: false
-                  show_subquestions_if: true
-                  subquestions:
-                    - variable: hostPath
-                      label: "Host Path for Netdata Configuration Volume"
-                      schema:
-                        type: hostpath
-                        required: true
-                        immutable: true
-        - variable: netdatacache
-          label: "Cache Volume"
-          schema:
-            type: dict
-            attrs:
-              - variable: datasetName
-                label: "Cache Volume Name"
-                schema:
-                  type: string
-                  hidden: true
-                  $ref:
-                    - "normalize/ixVolume"
-                  show_if: [["hostPathEnabled", "=", false]]
-                  default: "ix-cache"
-                  editable: false
-              - variable: mountPath
-                label: "Cache Mount Path"
-                description: "Path where the volume will be mounted inside the pod"
-                schema:
-                  type: path
-                  hidden: true
-                  editable: false
-                  default: "/var/cache/netdata"
-              - variable: hostPathEnabled
-                label: "Enable Host Path for Netdata Cache Volume"
-                schema:
-                  type: boolean
-                  default: false
-                  show_subquestions_if: true
-                  subquestions:
-                    - variable: hostPath
-                      label: "Host Path for Netdata Cache Volume"
-                      schema:
-                        type: hostpath
-                        required: true
-                        immutable: true
-        - variable: netdatalib
-          label: "Netdata Library Volume"
-          schema:
-            type: dict
-            attrs:
-              - variable: datasetName
-                label: "Netdata Library Volume Name"
-                schema:
-                  type: string
-                  hidden: true
-                  $ref:
-                    - "normalize/ixVolume"
-                  show_if: [ [ "hostPathEnabled", "=", false ] ]
-                  default: "ix-lib"
-                  editable: false
-              - variable: mountPath
-                label: "Netdata Library Mount Path"
-                description: "Path where the volume will be mounted inside the pod"
-                schema:
-                  type: path
-                  hidden: true
-                  editable: false
-                  default: "/var/lib/netdata"
-              - variable: hostPathEnabled
-                label: "Enable Host Path for Netdata Library Volume"
-                schema:
-                  type: boolean
-                  default: false
-                  show_subquestions_if: true
-                  subquestions:
-                    - variable: hostPath
-                      label: "Host Path for Netdata Library Volume"
-                      schema:
-                        type: hostpath
-                        required: true
-                        immutable: true
-
-  - variable: extraAppVolumeMounts
-    label: "Extra Host Path Volumes"
-    group: "Storage"
-    schema:
-      type: list
-      items:
-        - variable: extraAppVolume
-          label: "Host Path Volume"
-          description: "Add an extra host path volume for Netdata application"
-          schema:
-            type: dict
-            attrs:
-              - variable: mountPath
-                label: "Mount Path in Pod"
-                description: "Path where the volume will be mounted inside the pod"
-                schema:
-                  type: path
-                  required: true
-              - variable: hostPath
-                label: "Host Path"
-                description: "Host path"
-                schema:
-                  type: hostpath
-                  required: true
-
-  - variable: enableResourceLimits
-    label: "Enable Pod resource limits"
-    group: "Resource Limits"
-    schema:
-      type: boolean
-      default: false
-  - variable: cpuLimit
-    label: "CPU Limit"
-    description: "CPU resource limit allow  plain integer values with suffix m(milli) e.g 1000m, 100."
-    group: "Resource Limits"
-    schema:
-      type: string
-      show_if: [["enableResourceLimits", "=", true]]
-      valid_chars: "^\\d+(?:\\.\\d+(?!.*m$)|m?$)"
-      default: "4000m"
-  - variable: memLimit
-    label: "Memory Limit"
-    group: "Resource Limits"
-    description: "Memory limits is specified by number of bytes. Followed by quantity suffix like E,P,T,G,M,k and Ei,Pi,Ti,Mi,Gi,Ki can also be used. e.g 129e6, 129M,  128974848000m, 123Mi"
-    schema:
-      type: string
-      show_if: [["enableResourceLimits", "=", true]]
-      valid_chars: "^([+-]?[0-9.]+)([eEinumkKMGTP]*[-+]?[0-9]*)$"
-      default: "8Gi"

+ 0 - 32
charts/netdata/1.0.40/templates/_helpers.tpl

@@ -1,32 +0,0 @@
-{{/* vim: set filetype=mustache: */}}
-{{/*
-Expand the name of the chart.
-*/}}
-{{- define "netdata.name" -}}
-{{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" -}}
-{{- end -}}
-
-{{/*
-Create a default fully qualified app name.
-We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec).
-If release name contains chart name it will be used as a full name.
-*/}}
-{{- define "netdata.fullname" -}}
-{{- if .Values.fullnameOverride -}}
-{{- .Values.fullnameOverride | trunc 63 | trimSuffix "-" -}}
-{{- else -}}
-{{- $name := default .Chart.Name .Values.nameOverride -}}
-{{- if contains $name .Release.Name -}}
-{{- .Release.Name | trunc 63 | trimSuffix "-" -}}
-{{- else -}}
-{{- printf "%s-%s" .Release.Name $name | trunc 63 | trimSuffix "-" -}}
-{{- end -}}
-{{- end -}}
-{{- end -}}
-
-{{/*
-Create chart name and version as used by the chart label.
-*/}}
-{{- define "netdata.chart" -}}
-{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" -}}
-{{- end -}}

+ 0 - 25
charts/netdata/1.0.40/templates/clusterrole.yaml

@@ -1,25 +0,0 @@
-apiVersion: rbac.authorization.k8s.io/v1
-kind: ClusterRole
-metadata:
-  name: {{ template "netdata.fullname" . }}
-  labels:
-    app: {{ template "netdata.name" . }}
-    chart: {{ template "netdata.chart" . }}
-    release: {{ .Release.Name }}
-    heritage: {{ .Release.Service }}
-rules:
-  - apiGroups: [""]
-    resources:
-      - "pods"        # used by sd, netdata (cgroup-name.sh, get-kubernetes-labels.sh)
-      - "services"    # used by sd
-      - "configmaps"  # used by sd
-      - "secrets"     # used by sd
-    verbs:
-      - "get"
-      - "list"
-      - "watch"
-  - apiGroups: [""]
-    resources:
-      - "namespaces"  # used by netdata (cgroup-name.sh, get-kubernetes-labels.sh)
-    verbs:
-      - "get"

+ 0 - 17
charts/netdata/1.0.40/templates/clusterrolebinding.yaml

@@ -1,17 +0,0 @@
-apiVersion: rbac.authorization.k8s.io/v1
-kind: ClusterRoleBinding
-metadata:
-  name: {{ template "netdata.fullname" . }}
-  labels:
-    app: {{ template "netdata.name" . }}
-    chart: {{ template "netdata.chart" . }}
-    release: {{ .Release.Name }}
-    heritage: {{ .Release.Service }}
-roleRef:
-  apiGroup: rbac.authorization.k8s.io
-  kind: ClusterRole
-  name: {{ template "netdata.fullname" . }}
-subjects:
-- kind: ServiceAccount
-  name: {{ .Release.Name }}
-  namespace: {{ .Release.Namespace }}

+ 0 - 103
charts/netdata/1.0.40/templates/deployment.yaml

@@ -1,103 +0,0 @@
-{{ include "common.storage.hostPathValidate" .Values }}
-apiVersion: apps/v1
-kind: Deployment
-metadata:
-  name: {{ template "netdata.name" . }}-netdata
-  labels:
-    app: {{ template "netdata.name" . }}
-    chart: {{ template "netdata.chart" . }}
-    release: {{ .Release.Name }}
-    heritage: {{ .Release.Service }}
-    role: parent
-spec:
-  replicas: 1
-  strategy:
-    type: Recreate
-  selector:
-    matchLabels: {{ include "common.labels.selectorLabels" . | nindent 6 }}
-  template:
-    metadata:
-      labels: {{ include "common.labels.selectorLabels" . | nindent 8 }}
-      annotations:
-        rollme: {{ randAlphaNum 5 | quote }}
-    spec:
-      securityContext:
-        fsGroup: 201
-      serviceAccountName: {{ .Release.Name }}
-      containers:
-        - name: {{ .Chart.Name }}
-          image: "{{ .Values.image.repository }}:{{ tpl .Values.image.tag . }}"
-          imagePullPolicy: {{ .Values.image.pullPolicy }}
-          {{ include "common.resources.limitation" . | nindent 10 }}
-          env:
-            {{ $envList := (default list .Values.environmentVariables) }}
-            {{ include "common.containers.environmentVariables" (dict "environmentVariables" $envList) | nindent 12 }}
-          ports:
-            - name: http
-              containerPort: 19999
-              protocol: TCP
-          livenessProbe:
-            httpGet:
-              path: /api/v1/info
-              port: http
-            initialDelaySeconds: 10
-            periodSeconds: 10
-            timeoutSeconds: 5
-            failureThreshold: 5
-            successThreshold: 1
-          readinessProbe:
-            httpGet:
-              path: /api/v1/info
-              port: http
-            initialDelaySeconds: 10
-            periodSeconds: 10
-            timeoutSeconds: 5
-            failureThreshold: 5
-            successThreshold: 2
-          startupProbe:
-            httpGet:
-              path: /api/v1/info
-              port: http
-            initialDelaySeconds: 10
-            periodSeconds: 5
-            timeoutSeconds: 2
-            failureThreshold: 60
-            successThreshold: 1
-          volumeMounts: {{ include "common.storage.configureAppVolumeMountsInContainer" .Values | nindent 12 }}
-            - name: os-release
-              mountPath: /host/etc/os-release
-              readOnly: true
-            - name: sys
-              mountPath: /host/sys
-              readOnly: true
-            - name: proc
-              mountPath: /host/proc
-              readOnly: true
-            - name: user
-              mountPath: /host/etc/passwd
-              readOnly: true
-            - name: group
-              mountPath: /host/etc/group
-              readOnly: true
-          securityContext:
-            capabilities:
-              add:
-                - SYS_PTRACE
-      terminationGracePeriodSeconds: 60
-      {{ include "common.networking.dnsConfiguration" .Values | nindent 6 }}
-      volumes: {{ include "common.storage.configureAppVolumes" .Values | nindent 8 }}
-        - name: os-release
-          hostPath:
-            path: /etc/os-release
-        - name: proc
-          hostPath:
-            path: /proc
-        - name: sys
-          hostPath:
-            path: /sys
-        - name: user
-          hostPath:
-            path: /etc/passwd
-        - name: group
-          hostPath:
-            path: /etc/group

+ 0 - 34
charts/netdata/1.0.40/templates/pre-install-job.yaml

@@ -1,34 +0,0 @@
-apiVersion: batch/v1
-kind: Job
-metadata:
-  name: "{{ template "common.names.fullname" . }}-preinstall-job"
-  labels:
-    app.kubernetes.io/managed-by: {{ .Release.Service | quote }}
-    app.kubernetes.io/instance: {{ .Release.Name | quote }}
-    app.kubernetes.io/version: {{ .Chart.AppVersion }}
-    helm.sh/chart: {{ template "common.names.chart" . }}
-  annotations:
-    "helm.sh/hook": pre-install
-    "helm.sh/hook-delete-policy": hook-succeeded
-spec:
-  template:
-    metadata:
-      name: "{{ template "common.names.fullname" . }}-preinstall-hook"
-      labels:
-        app.kubernetes.io/managed-by: {{ .Release.Service | quote }}
-        app.kubernetes.io/instance: {{ .Release.Name | quote }}
-        helm.sh/chart: {{ template "common.names.chart" . }}
-    spec:
-      restartPolicy: Never
-      containers:
-      - name: pre-install-job
-        image: "alpine:latest"
-        command:
-          - chown
-          - -R
-          - {{ .Values.runAsUser }}:{{ .Values.runAsGroup }}
-          - {{ .Values.appVolumeMounts.netdatacache.mountPath }}
-          - {{ .Values.appVolumeMounts.netdatalib.mountPath }}
-          - {{ .Values.appVolumeMounts.netdataconfig.mountPath }}
-        volumeMounts: {{ include "common.storage.configureAppVolumeMountsInContainer" .Values | nindent 12 }}
-      volumes: {{ include "common.storage.configureAppVolumes" .Values | nindent 8 }}

+ 0 - 6
charts/netdata/1.0.40/templates/service.yaml

@@ -1,6 +0,0 @@
-{{ $svc := .Values.service }}
-{{ $ports := list }}
-{{ $ports = mustAppend $ports (dict "name" "ui" "port" $svc.nodePort "nodePort" $svc.nodePort "targetPort" 19999) }}
-{{ $params := . }}
-{{ $_ := set $params "commonService" (dict "type" "NodePort" "ports" $ports ) }}
-{{ include "common.classes.service" $params }}

+ 0 - 9
charts/netdata/1.0.40/templates/serviceaccount.yaml

@@ -1,9 +0,0 @@
-kind: ServiceAccount
-apiVersion: v1
-metadata:
-  labels:
-    app: {{ template "netdata.name" . }}
-    chart: {{ template "netdata.chart" . }}
-    release: {{ .Release.Name }}
-    heritage: {{ .Release.Service }}
-  name: {{ .Release.Name }}

+ 0 - 0
charts/netdata/1.0.40/.helmignore → charts/netdata/2.0.0/.helmignore


+ 6 - 0
charts/netdata/2.0.0/Chart.lock

@@ -0,0 +1,6 @@
+dependencies:
+- name: common
+  repository: file://../../../common
+  version: 1.2.9
+digest: sha256:af1a9a1f87e3e48453c9f25f909f5ebcd7fa6e25162b7b425448ba752bcdbc5c
+generated: "2024-01-31T17:51:31.791327082+02:00"

+ 5 - 3
charts/netdata/1.0.40/Chart.yaml → charts/netdata/2.0.0/Chart.yaml

@@ -3,7 +3,7 @@ description: Real-time performance monitoring, done right!
 annotations:
   title: Netdata
 type: application
-version: 1.0.40
+version: 2.0.0
 apiVersion: v2
 appVersion: v1.44.1
 kubeVersion: '>=1.16.0-0'
@@ -13,12 +13,14 @@ maintainers:
     email: dev@ixsystems.com
 dependencies:
   - name: common
-    repository: file://../../../common/2304.0.1
-    version: 2304.0.1
+    repository: file://../../../common
+    version: 1.2.9
 home: https://www.netdata.cloud/
 icon: https://media.sys.truenas.net/apps/netdata/icons/icon.png
 sources:
+  - https://www.netdata.cloud/
   - https://github.com/netdata/helmchart
+  - https://hub.docker.com/r/netdata/netdata
   - https://github.com/netdata/netdata
 keywords:
   - alerting

+ 3 - 0
charts/netdata/2.0.0/README.md

@@ -0,0 +1,3 @@
+# Netdata
+
+[Netdata](https://www.netdata.cloud/) is a fast, easy monitoring and troubleshooting system.

+ 2 - 0
charts/netdata/1.0.40/app-readme.md → charts/netdata/2.0.0/app-readme.md

@@ -1 +1,3 @@
+# Netdata
+
 [Netdata](https://www.netdata.cloud/) is a fast, easy monitoring and troubleshooting system.

BIN
charts/netdata/2.0.0/charts/common-1.2.9.tgz


+ 10 - 0
charts/netdata/2.0.0/ci/basic-values.yaml

@@ -0,0 +1,10 @@
+netdataNetwork:
+  webPort: 30489
+
+netdataStorage:
+  config:
+    type: pvc
+  cache:
+    type: pvc
+  lib:
+    type: pvc

+ 34 - 0
charts/netdata/2.0.0/ix_values.yaml

@@ -0,0 +1,34 @@
+image:
+  pullPolicy: IfNotPresent
+  repository: netdata/netdata
+  tag: v1.44.1
+
+resources:
+  limits:
+    cpu: 4000m
+    memory: 8Gi
+
+podOptions:
+  dnsConfig:
+    options: []
+
+netdataConfig:
+  additionalEnvs: []
+
+netdataNetwork:
+  webPort: 20489
+
+netdataStorage:
+  config:
+    type: ixVolume
+    ixVolumeConfig:
+      datasetName: config
+  cache:
+    type: ixVolume
+    ixVolumeConfig:
+      datasetName: cache
+  lib:
+    type: ixVolume
+    ixVolumeConfig:
+      datasetName: lib
+  additionalStorages: []

+ 5 - 21
charts/netdata/1.0.40/metadata.yaml → charts/netdata/2.0.0/metadata.yaml

@@ -7,34 +7,16 @@ runAsContext:
 capabilities:
   - name: CHOWN
     description: Netdata is able to chown files.
-  - name: FOWNER
-    description: Netdata is able to bypass permission checks for it's sub-processes.
-  - name: SYS_CHROOT
-    description: Netdata is able to use chroot.
-  - name: MKNOD
-    description: Netdata is able to create device nodes.
   - name: DAC_OVERRIDE
     description: Netdata is able to bypass permission checks.
-  - name: FSETID
-    description: Netdata is able to set file capabilities.
-  - name: KILL
-    description: Netdata is able to kill processes.
+  - name: FOWNER
+    description: Netdata is able to bypass permission checks for it's sub-processes.
   - name: SETGID
     description: Netdata is able to set group ID for it's sub-processes.
   - name: SETUID
     description: Netdata is able to set user ID for it's sub-processes.
-  - name: SETPCAP
-    description: Netdata is able to set process capabilities.
-  - name: NET_BIND_SERVICE
-    description: Netdata is able to bind to privileged ports.
-  - name: NET_RAW
-    description: Netdata is able to use raw sockets.
-  - name: SETFCAP
-    description: Netdata is able to set file capabilities.
-  - name: PTRACE
+  - name: SYS_PTRACE
     description: Netdata is able to trace processes.
-  - name: AUDIT_WRITE
-    description: Netdata is able to write to audit log.
 hostMounts:
   - hostPath: /etc/os-release
     description: Required to read the OS release information.
@@ -44,3 +26,5 @@ hostMounts:
     description: Required to read the group information.
   - hostPath: /proc
     description: Required to read the processes information.
+  - hostPath: /sys
+    description: Required to read the system information.

+ 87 - 0
charts/netdata/2.0.0/migrations/migrate

@@ -0,0 +1,87 @@
+#!/usr/bin/python3
+import json
+import os
+import sys
+
+def migrate_volume(volume):
+    return {
+        'type': 'hostPath',
+        'hostPathConfig': {
+            'hostPath': volume['hostPath']
+        },
+    } if volume.get('hostPathEnabled', False) else {
+        'type': 'ixVolume',
+        'ixVolumeConfig': {
+            'datasetName': volume['datasetName'],
+        },
+    }
+
+def migrate_common_lib(values):
+    delete_keys = [
+        'dnsConfig', 'environmentVariables', 'service', 'enableResourceLimits',
+        'memLimit', 'cpuLimit', 'extraAppVolumeMounts', 'appVolumeMounts',
+        'runAsGroup', 'runAsUser',
+    ]
+
+    values.update({
+        # Migrate Network
+        'netdataNetwork': {
+            'webPort': values['service']['nodePort'],
+        },
+        # Migrate Resources
+        'resources': {
+            'limits': {
+                'cpu': values.get('cpuLimit', '4000m'),
+                'memory': values.get('memLimit', '8Gi'),
+            }
+        },
+        # Migrate DNS
+        'podOptions': {
+            'dnsConfig': {
+                'options': [
+                    {'name': opt['name'], 'value': opt['value']}
+                    for opt in values.get('dnsConfig', {}).get('options', [])
+                ]
+            }
+        },
+        # Migrate Config
+        'netdataConfig': {
+            'additionalEnvs': values.get('environmentVariables', []),
+        },
+        # Migrate Storage
+        'netdataStorage': {
+            'config': migrate_volume(values['appVolumeMounts']['netdataconfig']),
+            'cache': migrate_volume(values['appVolumeMounts']['netdatacache']),
+            'lib': migrate_volume(values['appVolumeMounts']['netdatalib']),
+            'additionalStorages': [
+                {
+                    'type': 'hostPath',
+                    'hostPathConfig': {'hostPath': e['hostPath']},
+                    'mountPath': e['mountPath'],
+                    'readOnly': e.get('readOnly', False),
+                }
+                for e in values.get('extraAppVolumeMounts', [])
+            ],
+        },
+    })
+
+    for k in delete_keys:
+        values.pop(k, None)
+
+    return values
+
+def migrate(values):
+    # If this missing, we have already migrated
+    if not 'appVolumeMounts' in values.keys():
+        return values
+
+    return migrate_common_lib(values)
+
+
+if __name__ == '__main__':
+    if len(sys.argv) != 2:
+        exit(1)
+
+    if os.path.exists(sys.argv[1]):
+        with open(sys.argv[1], 'r') as f:
+            print(json.dumps(migrate(json.loads(f.read()))))

+ 530 - 0
charts/netdata/2.0.0/questions.yaml

@@ -0,0 +1,530 @@
+groups:
+  - name: Netdata Configuration
+    description: Configure Netdata
+  - name: Advanced Pod Configuration
+    description: Configure Advanced Pod Options for Netdata
+  - name: Network Configuration
+    description: Configure Network for Netdata
+  - name: Storage Configuration
+    description: Configure Storage for Netdata
+  - name: Resources Configuration
+    description: Configure Resources for Netdata
+
+portals:
+  web_portal:
+    protocols:
+      - "$kubernetes-resource_configmap_portal_protocol"
+    host:
+      - "$kubernetes-resource_configmap_portal_host"
+    ports:
+      - "$kubernetes-resource_configmap_portal_port"
+    path: "$kubernetes-resource_configmap_portal_path"
+
+questions:
+  - variable: netdataConfig
+    label: ""
+    group: Netdata Configuration
+    schema:
+      type: dict
+      attrs:
+        - variable: additionalEnvs
+          label: Additional Environment Variables
+          description: Configure additional environment variables for Netdata.
+          schema:
+            type: list
+            default: []
+            items:
+              - variable: env
+                label: Environment Variable
+                schema:
+                  type: dict
+                  attrs:
+                    - variable: name
+                      label: Name
+                      schema:
+                        type: string
+                        required: true
+                    - variable: value
+                      label: Value
+                      schema:
+                        type: string
+                        required: true
+
+  - variable: podOptions
+    label: ""
+    group: Advanced Pod Configuration
+    schema:
+      type: dict
+      attrs:
+        - variable: dnsConfig
+          label: Advanced DNS Configuration
+          schema:
+            type: dict
+            attrs:
+              - variable: options
+                label: DNS Options
+                schema:
+                  type: list
+                  items:
+                    - variable: optionsEntry
+                      label: DNS Option Entry
+                      schema:
+                        type: dict
+                        attrs:
+                          - variable: name
+                            label: Option Name
+                            schema:
+                              type: string
+                              required: true
+                          - variable: value
+                            label: Option Value
+                            schema:
+                              type: string
+                              required: true
+
+  - variable: netdataNetwork
+    label: ""
+    group: Network Configuration
+    schema:
+      type: dict
+      attrs:
+        - variable: webPort
+          label: Web Port
+          description: The port for the Netdata Web UI.
+          schema:
+            type: int
+            default: 20489
+            min: 9000
+            max: 65535
+            required: true
+        - variable: hostNetwork
+          label: Host Network
+          schema:
+            type: boolean
+            default: true
+
+  - variable: netdataStorage
+    label: ""
+    group: Storage Configuration
+    schema:
+      type: dict
+      attrs:
+        - variable: config
+          label: Netdata Config Storage
+          description: The path to store Netdata Configuration.
+          schema:
+            type: dict
+            attrs:
+              - variable: type
+                label: Type
+                description: |
+                  ixVolume: Is dataset created automatically by the system.</br>
+                  Host Path: Is a path that already exists on the system.
+                schema:
+                  type: string
+                  required: true
+                  immutable: true
+                  default: "ixVolume"
+                  enum:
+                    - value: "hostPath"
+                      description: Host Path (Path that already exists on the system)
+                    - value: "ixVolume"
+                      description: ixVolume (Dataset created automatically by the system)
+              - variable: ixVolumeConfig
+                label: ixVolume Configuration
+                description: The configuration for the ixVolume dataset.
+                schema:
+                  type: dict
+                  show_if: [["type", "=", "ixVolume"]]
+                  $ref:
+                    - "normalize/ixVolume"
+                  attrs:
+                    - variable: aclEnable
+                      label: Enable ACL
+                      description: Enable ACL for the dataset.
+                      schema:
+                        type: boolean
+                        default: false
+                    - variable: datasetName
+                      label: Dataset Name
+                      description: The name of the dataset to use for storage.
+                      schema:
+                        type: string
+                        required: true
+                        immutable: true
+                        hidden: true
+                        default: "config"
+                    - variable: aclEntries
+                      label: ACL Configuration
+                      schema:
+                        type: dict
+                        show_if: [["aclEnable", "=", true]]
+                        attrs: []
+              - variable: hostPathConfig
+                label: Host Path Config
+                schema:
+                  type: dict
+                  show_if: [["type", "=", "hostPath"]]
+                  attrs:
+                    - variable: aclEnable
+                      label: Enable ACL
+                      description: Enable ACL for the dataset.
+                      schema:
+                        type: boolean
+                        default: false
+                    - variable: acl
+                      label: ACL Configuration
+                      schema:
+                        type: dict
+                        show_if: [["aclEnable", "=", true]]
+                        attrs: []
+                        $ref:
+                          - "normalize/acl"
+                    - variable: hostPath
+                      label: Host Path
+                      description: The host path to use for storage.
+                      schema:
+                        type: hostpath
+                        show_if: [["aclEnable", "=", false]]
+                        required: true
+        - variable: cache
+          label: Netdata Cache Storage
+          description: The path to store Netdata Cache.
+          schema:
+            type: dict
+            attrs:
+              - variable: type
+                label: Type
+                description: |
+                  ixVolume: Is dataset created automatically by the system.</br>
+                  Host Path: Is a path that already exists on the system.
+                schema:
+                  type: string
+                  required: true
+                  immutable: true
+                  default: "ixVolume"
+                  enum:
+                    - value: "hostPath"
+                      description: Host Path (Path that already exists on the system)
+                    - value: "ixVolume"
+                      description: ixVolume (Dataset created automatically by the system)
+              - variable: ixVolumeConfig
+                label: ixVolume Configuration
+                description: The configuration for the ixVolume dataset.
+                schema:
+                  type: dict
+                  show_if: [["type", "=", "ixVolume"]]
+                  $ref:
+                    - "normalize/ixVolume"
+                  attrs:
+                    - variable: aclEnable
+                      label: Enable ACL
+                      description: Enable ACL for the dataset.
+                      schema:
+                        type: boolean
+                        default: false
+                    - variable: datasetName
+                      label: Dataset Name
+                      description: The name of the dataset to use for storage.
+                      schema:
+                        type: string
+                        required: true
+                        immutable: true
+                        hidden: true
+                        default: "cache"
+                    - variable: aclEntries
+                      label: ACL Configuration
+                      schema:
+                        type: dict
+                        show_if: [["aclEnable", "=", true]]
+                        attrs: []
+              - variable: hostPathConfig
+                label: Host Path Config
+                schema:
+                  type: dict
+                  show_if: [["type", "=", "hostPath"]]
+                  attrs:
+                    - variable: aclEnable
+                      label: Enable ACL
+                      description: Enable ACL for the dataset.
+                      schema:
+                        type: boolean
+                        default: false
+                    - variable: acl
+                      label: ACL Configuration
+                      schema:
+                        type: dict
+                        show_if: [["aclEnable", "=", true]]
+                        attrs: []
+                        $ref:
+                          - "normalize/acl"
+                    - variable: hostPath
+                      label: Host Path
+                      description: The host path to use for storage.
+                      schema:
+                        type: hostpath
+                        show_if: [["aclEnable", "=", false]]
+                        required: true
+        - variable: lib
+          label: Netdata Lib Storage
+          description: The path to store Netdata Lib.
+          schema:
+            type: dict
+            attrs:
+              - variable: type
+                label: Type
+                description: |
+                  ixVolume: Is dataset created automatically by the system.</br>
+                  Host Path: Is a path that already exists on the system.
+                schema:
+                  type: string
+                  required: true
+                  immutable: true
+                  default: "ixVolume"
+                  enum:
+                    - value: "hostPath"
+                      description: Host Path (Path that already exists on the system)
+                    - value: "ixVolume"
+                      description: ixVolume (Dataset created automatically by the system)
+              - variable: ixVolumeConfig
+                label: ixVolume Configuration
+                description: The configuration for the ixVolume dataset.
+                schema:
+                  type: dict
+                  show_if: [["type", "=", "ixVolume"]]
+                  $ref:
+                    - "normalize/ixVolume"
+                  attrs:
+                    - variable: aclEnable
+                      label: Enable ACL
+                      description: Enable ACL for the dataset.
+                      schema:
+                        type: boolean
+                        default: false
+                    - variable: datasetName
+                      label: Dataset Name
+                      description: The name of the dataset to use for storage.
+                      schema:
+                        type: string
+                        required: true
+                        immutable: true
+                        hidden: true
+                        default: "lib"
+                    - variable: aclEntries
+                      label: ACL Configuration
+                      schema:
+                        type: dict
+                        show_if: [["aclEnable", "=", true]]
+                        attrs: []
+              - variable: hostPathConfig
+                label: Host Path Config
+                schema:
+                  type: dict
+                  show_if: [["type", "=", "hostPath"]]
+                  attrs:
+                    - variable: aclEnable
+                      label: Enable ACL
+                      description: Enable ACL for the dataset.
+                      schema:
+                        type: boolean
+                        default: false
+                    - variable: acl
+                      label: ACL Configuration
+                      schema:
+                        type: dict
+                        show_if: [["aclEnable", "=", true]]
+                        attrs: []
+                        $ref:
+                          - "normalize/acl"
+                    - variable: hostPath
+                      label: Host Path
+                      description: The host path to use for storage.
+                      schema:
+                        type: hostpath
+                        show_if: [["aclEnable", "=", false]]
+                        required: true
+
+        - variable: additionalStorages
+          label: Additional Storage
+          description: Additional storage for Netdata.
+          schema:
+            type: list
+            default: []
+            items:
+              - variable: storageEntry
+                label: Storage Entry
+                schema:
+                  type: dict
+                  attrs:
+                    - variable: type
+                      label: Type
+                      description: |
+                        ixVolume: Is dataset created automatically by the system.</br>
+                        Host Path: Is a path that already exists on the system.</br>
+                        SMB Share: Is a SMB share that is mounted to a persistent volume claim.
+                      schema:
+                        type: string
+                        required: true
+                        default: "ixVolume"
+                        immutable: true
+                        enum:
+                          - value: "hostPath"
+                            description: Host Path (Path that already exists on the system)
+                          - value: "ixVolume"
+                            description: ixVolume (Dataset created automatically by the system)
+                          - value: "smb-pv-pvc"
+                            description: SMB Share (Mounts a persistent volume claim to a SMB share)
+                    - variable: readOnly
+                      label: Read Only
+                      description: Mount the volume as read only.
+                      schema:
+                        type: boolean
+                        default: false
+                    - variable: mountPath
+                      label: Mount Path
+                      description: The path inside the container to mount the storage.
+                      schema:
+                        type: path
+                        required: true
+                    - variable: hostPathConfig
+                      label: Host Path Config
+                      schema:
+                        type: dict
+                        show_if: [["type", "=", "hostPath"]]
+                        attrs:
+                          - variable: aclEnable
+                            label: Enable ACL
+                            description: Enable ACL for the dataset.
+                            schema:
+                              type: boolean
+                              default: false
+                          - variable: acl
+                            label: ACL Configuration
+                            schema:
+                              type: dict
+                              show_if: [["aclEnable", "=", true]]
+                              attrs: []
+                              $ref:
+                                - "normalize/acl"
+                          - variable: hostPath
+                            label: Host Path
+                            description: The host path to use for storage.
+                            schema:
+                              type: hostpath
+                              show_if: [["aclEnable", "=", false]]
+                              required: true
+                    - variable: ixVolumeConfig
+                      label: ixVolume Configuration
+                      description: The configuration for the ixVolume dataset.
+                      schema:
+                        type: dict
+                        show_if: [["type", "=", "ixVolume"]]
+                        $ref:
+                          - "normalize/ixVolume"
+                        attrs:
+                          - variable: aclEnable
+                            label: Enable ACL
+                            description: Enable ACL for the dataset.
+                            schema:
+                              type: boolean
+                              default: false
+                          - variable: datasetName
+                            label: Dataset Name
+                            description: The name of the dataset to use for storage.
+                            schema:
+                              type: string
+                              required: true
+                              immutable: true
+                              default: "storage_entry"
+                          - variable: aclEntries
+                            label: ACL Configuration
+                            schema:
+                              type: dict
+                              show_if: [["aclEnable", "=", true]]
+                              attrs: []
+                    - variable: smbConfig
+                      label: SMB Share Configuration
+                      description: The configuration for the SMB Share.
+                      schema:
+                        type: dict
+                        show_if: [["type", "=", "smb-pv-pvc"]]
+                        attrs:
+                          - variable: server
+                            label: Server
+                            description: The server for the SMB share.
+                            schema:
+                              type: string
+                              required: true
+                          - variable: share
+                            label: Share
+                            description: The share name for the SMB share.
+                            schema:
+                              type: string
+                              required: true
+                          - variable: domain
+                            label: Domain (Optional)
+                            description: The domain for the SMB share.
+                            schema:
+                              type: string
+                          - variable: username
+                            label: Username
+                            description: The username for the SMB share.
+                            schema:
+                              type: string
+                              required: true
+                          - variable: password
+                            label: Password
+                            description: The password for the SMB share.
+                            schema:
+                              type: string
+                              required: true
+                              private: true
+                          - variable: size
+                            label: Size (in Gi)
+                            description: The size of the volume quota.
+                            schema:
+                              type: int
+                              required: true
+                              min: 1
+                              default: 1
+
+  - variable: resources
+    group: Resources Configuration
+    label: ""
+    schema:
+      type: dict
+      attrs:
+        - variable: limits
+          label: Limits
+          schema:
+            type: dict
+            attrs:
+              - variable: cpu
+                label: CPU
+                description: CPU limit for Netdata.
+                schema:
+                  type: string
+                  max_length: 6
+                  valid_chars: '^(0\.[1-9]|[1-9][0-9]*)(\.[0-9]|m?)$'
+                  valid_chars_error: |
+                    Valid CPU limit formats are</br>
+                    - Plain Integer - eg. 1</br>
+                    - Float - eg. 0.5</br>
+                    - Milicpu - eg. 500m
+                  default: "4000m"
+                  required: true
+              - variable: memory
+                label: Memory
+                description: Memory limit for Netdata.
+                schema:
+                  type: string
+                  max_length: 12
+                  valid_chars: '^[1-9][0-9]*([EPTGMK]i?|e[0-9]+)?$'
+                  valid_chars_error: |
+                    Valid Memory limit formats are</br>
+                    - Suffixed with E/P/T/G/M/K - eg. 1G</br>
+                    - Suffixed with Ei/Pi/Ti/Gi/Mi/Ki - eg. 1Gi</br>
+                    - Plain Integer in bytes - eg. 1024</br>
+                    - Exponent - eg. 134e6
+                  default: "8Gi"
+                  required: true

+ 0 - 0
community/ddns-updater/1.0.26/templates/NOTES.txt → charts/netdata/2.0.0/templates/NOTES.txt


+ 35 - 0
charts/netdata/2.0.0/templates/_migration.tpl

@@ -0,0 +1,35 @@
+{{- define "netdata.get-versions" -}}
+  {{- $oldChartVersion := "" -}}
+  {{- $newChartVersion := "" -}}
+
+  {{/* Safely access the context, so it wont block CI */}}
+  {{- if hasKey .Values.global "ixChartContext" -}}
+    {{- if .Values.global.ixChartContext.upgradeMetadata -}}
+
+      {{- $oldChartVersion = .Values.global.ixChartContext.upgradeMetadata.oldChartVersion -}}
+      {{- $newChartVersion = .Values.global.ixChartContext.upgradeMetadata.newChartVersion -}}
+      {{- if and (not $oldChartVersion) (not $newChartVersion) -}}
+        {{- fail "Upgrade Metadata is missing. Cannot proceed" -}}
+      {{- end -}}
+    {{- end -}}
+  {{- end -}}
+
+  {{- toYaml (dict "old" $oldChartVersion "new" $newChartVersion) -}}
+{{- end -}}
+
+{{- define "netdata.migration" -}}
+  {{- $versions := (fromYaml (include "netdata.get-versions" $)) -}}
+  {{- if and $versions.old $versions.new -}}
+    {{- $oldV := semver $versions.old -}}
+    {{- $newV := semver $versions.new -}}
+
+    {{/* If new is v2.x.x */}}
+    {{- if eq ($newV.Major | int) 2 -}}
+      {{/* And old is v1.x.x, but lower than .40 */}}
+      {{- if and (eq $oldV.Major 1) (lt ($oldV.Patch | int) 40) -}}
+        {{/* Block the upgrade */}}
+        {{- fail "Migration to 2.x.x is only allowed from 1.0.40 or higher" -}}
+      {{- end -}}
+    {{- end -}}
+  {{- end -}}
+{{- end -}}

+ 53 - 0
charts/netdata/2.0.0/templates/_netdata.tpl

@@ -0,0 +1,53 @@
+{{- define "netdata.workload" -}}
+workload:
+  netdata:
+    enabled: true
+    primary: true
+    type: Deployment
+    podSpec:
+      hostNetwork: false
+      automountServiceAccountToken: true
+      securityContext:
+        fsGroup: 201
+      containers:
+        netdata:
+          enabled: true
+          primary: true
+          imageSelector: image
+          securityContext:
+            runAsUser: 0
+            runAsGroup: 0
+            runAsNonRoot: false
+            readOnlyRootFilesystem: false
+            allowPrivilegeEscalation: true
+            capabilities:
+              add:
+                - CHOWN
+                - DAC_OVERRIDE
+                - FOWNER
+                - SETGID
+                - SETUID
+                - SYS_PTRACE
+          env:
+            NETDATA_LISTENER_PORT: {{ .Values.netdataNetwork.webPort }}
+          {{ with .Values.netdataConfig.additionalEnvs }}
+          envList:
+            {{ range $env := . }}
+            - name: {{ $env.name }}
+              value: {{ $env.value }}
+            {{ end }}
+          {{ end }}
+          probes:
+            liveness:
+              enabled: true
+              type: exec
+              command: /usr/sbin/health.sh
+            readiness:
+              enabled: true
+              type: exec
+              command: /usr/sbin/health.sh
+            startup:
+              enabled: true
+              type: exec
+              command: /usr/sbin/health.sh
+{{- end -}}

+ 86 - 0
charts/netdata/2.0.0/templates/_persistence.tpl

@@ -0,0 +1,86 @@
+{{- define "netdata.persistence" -}}
+persistence:
+  config:
+    enabled: true
+    {{- include "ix.v1.common.app.storageOptions" (dict "storage" .Values.netdataStorage.config) | nindent 4 }}
+    targetSelector:
+      netdata:
+        netdata:
+          mountPath: /etc/netdata
+  cache:
+    enabled: true
+    {{- include "ix.v1.common.app.storageOptions" (dict "storage" .Values.netdataStorage.cache) | nindent 4 }}
+    targetSelector:
+      netdata:
+        netdata:
+          mountPath: /var/cache/netdata
+  lib:
+    enabled: true
+    {{- include "ix.v1.common.app.storageOptions" (dict "storage" .Values.netdataStorage.lib) | nindent 4 }}
+    targetSelector:
+      netdata:
+        netdata:
+          mountPath: /var/lib/netdata
+  tmp:
+    enabled: true
+    type: emptyDir
+    targetSelector:
+      netdata:
+        netdata:
+          mountPath: /tmp
+  {{- range $idx, $storage := .Values.netdataStorage.additionalStorages }}
+  {{ printf "netdata-%v:" (int $idx) }}
+    enabled: true
+    {{- include "ix.v1.common.app.storageOptions" (dict "storage" $storage) | nindent 4 }}
+    targetSelector:
+      netdata:
+        netdata:
+          mountPath: {{ $storage.mountPath }}
+  {{- end }}
+
+  os-release:
+    enabled: true
+    type: hostPath
+    hostPath: /etc/os-release
+    targetSelector:
+      netdata:
+        netdata:
+          mountPath: /host/etc/os-release
+          readOnly: true
+  sys:
+    enabled: true
+    type: hostPath
+    hostPath: /sys
+    targetSelector:
+      netdata:
+        netdata:
+          mountPath: /host/sys
+          readOnly: true
+  proc:
+    enabled: true
+    type: hostPath
+    hostPath: /proc
+    targetSelector:
+      netdata:
+        netdata:
+          mountPath: /host/proc
+          readOnly: true
+  etc-passwd:
+    enabled: true
+    type: hostPath
+    hostPath: /etc/passwd
+    targetSelector:
+      netdata:
+        netdata:
+          mountPath: /host/etc/passwd
+          readOnly: true
+  etc-group:
+    enabled: true
+    type: hostPath
+    hostPath: /etc/group
+    targetSelector:
+      netdata:
+        netdata:
+          mountPath: /host/etc/group
+          readOnly: true
+{{- end -}}

+ 12 - 0
charts/netdata/2.0.0/templates/_portal.tpl

@@ -0,0 +1,12 @@
+{{- define "netdata.portal" -}}
+---
+apiVersion: v1
+kind: ConfigMap
+metadata:
+  name: portal
+data:
+  port: {{ .Values.netdataNetwork.webPort | quote }}
+  path: "/"
+  protocol: "http"
+  host: $node_ip
+{{- end -}}

+ 30 - 0
charts/netdata/2.0.0/templates/_rbac.tpl

@@ -0,0 +1,30 @@
+{{- define "netdata.rbac" -}}
+serviceAccount:
+  netdata:
+    enabled: true
+    primary: true
+
+rbac:
+  netdata:
+    enabled: true
+    primary: true
+    clusterWide: true
+    rules:
+      - apiGroups:
+          - ""
+        resources:
+          - pods
+          - services
+          - configmaps
+          - secrets
+        verbs:
+          - get
+          - list
+          - watch
+      - apiGroups:
+          - ""
+        resources:
+          - namespaces
+        verbs:
+          - get
+{{- end -}}

+ 15 - 0
charts/netdata/2.0.0/templates/_service.tpl

@@ -0,0 +1,15 @@
+{{- define "netdata.service" -}}
+service:
+  netdata:
+    enabled: true
+    primary: true
+    type: NodePort
+    targetSelector: netdata
+    ports:
+      webui:
+        enabled: true
+        primary: true
+        port: {{ .Values.netdataNetwork.webPort }}
+        nodePort: {{ .Values.netdataNetwork.webPort }}
+        targetSelector: netdata
+{{- end -}}

+ 14 - 0
charts/netdata/2.0.0/templates/common.yaml

@@ -0,0 +1,14 @@
+{{- include "ix.v1.common.loader.init" . -}}
+
+{{- include "netdata.migration" $ -}}
+
+{{/* Merge the templates with Values */}}
+{{- $_ := mustMergeOverwrite .Values (include "netdata.workload" $ | fromYaml) -}}
+{{- $_ := mustMergeOverwrite .Values (include "netdata.service" $ | fromYaml) -}}
+{{- $_ := mustMergeOverwrite .Values (include "netdata.persistence" $ | fromYaml) -}}
+{{- $_ := mustMergeOverwrite .Values (include "netdata.rbac" $ | fromYaml) -}}
+
+{{/* Create the configmap for portal manually*/}}
+{{- include "netdata.portal" $ -}}
+
+{{- include "ix.v1.common.loader.apply" . -}}

+ 0 - 0
community/ddns-updater/1.0.26/Chart.lock → community/ddns-updater/1.0.27/Chart.lock


+ 2 - 2
community/ddns-updater/1.0.26/Chart.yaml → community/ddns-updater/1.0.27/Chart.yaml

@@ -3,9 +3,9 @@ description: Lightweight universal DDNS Updater with web UI
 annotations:
   title: DDNS Updater
 type: application
-version: 1.0.26
+version: 1.0.27
 apiVersion: v2
-appVersion: 'v2.5.0'
+appVersion: 2.6.0
 kubeVersion: '>=1.16.0-0'
 maintainers:
   - name: truenas

+ 0 - 0
community/ddns-updater/1.0.26/README.md → community/ddns-updater/1.0.27/README.md


+ 0 - 0
community/ddns-updater/1.0.26/app-readme.md → community/ddns-updater/1.0.27/app-readme.md


+ 0 - 0
community/ddns-updater/1.0.26/charts/common-1.2.9.tgz → community/ddns-updater/1.0.27/charts/common-1.2.9.tgz


+ 0 - 0
community/ddns-updater/1.0.26/ci/aliyun-values.yaml → community/ddns-updater/1.0.27/ci/aliyun-values.yaml


+ 0 - 0
community/ddns-updater/1.0.26/ci/allinkl-values.yaml → community/ddns-updater/1.0.27/ci/allinkl-values.yaml


+ 0 - 0
community/ddns-updater/1.0.26/ci/cloudflare-values.yaml → community/ddns-updater/1.0.27/ci/cloudflare-values.yaml


+ 10 - 9
community/ddns-updater/1.0.26/ci/config-values.yaml → community/ddns-updater/1.0.27/ci/config-values.yaml

@@ -35,15 +35,16 @@ ddnsConfig:
     - gotify://gotify-host/token
   publicIpDnsProviders:
     - provider: all
-  publicIpHttpProviders:
-    - provider: custom
-      custom: https://ifconfig.io/ip
-  publicIpv4HttpProviders:
-    - provider: custom
-      custom: https://api.ipify.org
-  publicIpv6HttpProviders:
-    - provider: custom
-      custom: https://api6.ipify.org
+  # FIXME: Custom providers stopped working on 2.6.0
+  # publicIpHttpProviders:
+  #   - provider: custom
+  #     custom: https://ifconfig.io/ip
+  # publicIpv4HttpProviders:
+  #   - provider: custom
+  #     custom: https://api.ipify.org
+  # publicIpv6HttpProviders:
+  #   - provider: custom
+  #     custom: https://api6.ipify.org
 
   additionalEnvs:
     - name: LOG_LEVEL

+ 0 - 0
community/ddns-updater/1.0.26/ci/dd24-values.yaml → community/ddns-updater/1.0.27/ci/dd24-values.yaml


+ 0 - 0
community/ddns-updater/1.0.26/ci/ddnss-values.yaml → community/ddns-updater/1.0.27/ci/ddnss-values.yaml


+ 18 - 0
community/ddns-updater/1.0.27/ci/desec-values.yaml

@@ -0,0 +1,18 @@
+ddnsStorage:
+  data:
+    type: hostPath
+    hostPath: /mnt/{{ .Release.Name }}/data
+
+# This disables probes.
+# As we can't have for each provider
+# an api key, we just run through CI
+# for the linting.
+ci: true
+
+ddnsConfig:
+  config:
+    - provider: desec
+      host: "@"
+      domain: example.com
+      ipVersion: ""
+      desecToken: password

+ 0 - 0
community/ddns-updater/1.0.26/ci/digitalocean-values.yaml → community/ddns-updater/1.0.27/ci/digitalocean-values.yaml


+ 0 - 0
community/ddns-updater/1.0.26/ci/dnsomatic-values.yaml → community/ddns-updater/1.0.27/ci/dnsomatic-values.yaml


+ 0 - 0
community/ddns-updater/1.0.26/ci/dnspod-values.yaml → community/ddns-updater/1.0.27/ci/dnspod-values.yaml


+ 0 - 0
community/ddns-updater/1.0.26/ci/dondominio-values.yaml → community/ddns-updater/1.0.27/ci/dondominio-values.yaml


+ 0 - 0
community/ddns-updater/1.0.26/ci/dreamhost-values.yaml → community/ddns-updater/1.0.27/ci/dreamhost-values.yaml


+ 0 - 0
community/ddns-updater/1.0.26/ci/duckdns-values.yaml → community/ddns-updater/1.0.27/ci/duckdns-values.yaml


+ 0 - 0
community/ddns-updater/1.0.26/ci/dyndns-values.yaml → community/ddns-updater/1.0.27/ci/dyndns-values.yaml


+ 0 - 0
community/ddns-updater/1.0.26/ci/dynu-values.yaml → community/ddns-updater/1.0.27/ci/dynu-values.yaml


+ 0 - 0
community/ddns-updater/1.0.26/ci/dynv6-values.yaml → community/ddns-updater/1.0.27/ci/dynv6-values.yaml


+ 19 - 0
community/ddns-updater/1.0.27/ci/easydns-values.yaml

@@ -0,0 +1,19 @@
+ddnsStorage:
+  data:
+    type: hostPath
+    hostPath: /mnt/{{ .Release.Name }}/data
+
+# This disables probes.
+# As we can't have for each provider
+# an api key, we just run through CI
+# for the linting.
+ci: true
+
+ddnsConfig:
+  config:
+    - provider: easydns
+      host: "@"
+      domain: example.com
+      ipVersion: ""
+      easyDnsUsername: user
+      easyDnsToken: password

+ 0 - 0
community/ddns-updater/1.0.26/ci/freedns-values.yaml → community/ddns-updater/1.0.27/ci/freedns-values.yaml


+ 0 - 0
community/ddns-updater/1.0.26/ci/gandi-values.yaml → community/ddns-updater/1.0.27/ci/gandi-values.yaml


+ 0 - 0
community/ddns-updater/1.0.26/ci/gcp-values.yaml → community/ddns-updater/1.0.27/ci/gcp-values.yaml


+ 0 - 0
community/ddns-updater/1.0.26/ci/godaddy-values.yaml → community/ddns-updater/1.0.27/ci/godaddy-values.yaml


+ 19 - 0
community/ddns-updater/1.0.27/ci/goip-values.yaml

@@ -0,0 +1,19 @@
+ddnsStorage:
+  data:
+    type: hostPath
+    hostPath: /mnt/{{ .Release.Name }}/data
+
+# This disables probes.
+# As we can't have for each provider
+# an api key, we just run through CI
+# for the linting.
+ci: true
+
+ddnsConfig:
+  config:
+    - provider: goip
+      host: "subdomain"
+      domain: goip.de
+      ipVersion: ""
+      goipUsername: someuser
+      goipPassword: password

+ 0 - 0
community/ddns-updater/1.0.26/ci/google-values.yaml → community/ddns-updater/1.0.27/ci/google-values.yaml


+ 0 - 0
community/ddns-updater/1.0.26/ci/he-values.yaml → community/ddns-updater/1.0.27/ci/he-values.yaml


+ 20 - 0
community/ddns-updater/1.0.27/ci/hetzner-values.yaml

@@ -0,0 +1,20 @@
+ddnsStorage:
+  data:
+    type: hostPath
+    hostPath: /mnt/{{ .Release.Name }}/data
+
+# This disables probes.
+# As we can't have for each provider
+# an api key, we just run through CI
+# for the linting.
+ci: true
+
+ddnsConfig:
+  config:
+    - provider: hetzner
+      host: "@"
+      domain: example.com
+      ipVersion: ""
+      hetznerToken: password
+      hetznerZoneIdentifier: zoneid
+      hetznerTtl: 60

+ 0 - 0
community/ddns-updater/1.0.26/ci/infomaniak-values.yaml → community/ddns-updater/1.0.27/ci/infomaniak-values.yaml


+ 0 - 0
community/ddns-updater/1.0.26/ci/inwx-values.yaml → community/ddns-updater/1.0.27/ci/inwx-values.yaml


+ 18 - 0
community/ddns-updater/1.0.27/ci/ionos-values.yaml

@@ -0,0 +1,18 @@
+ddnsStorage:
+  data:
+    type: hostPath
+    hostPath: /mnt/{{ .Release.Name }}/data
+
+# This disables probes.
+# As we can't have for each provider
+# an api key, we just run through CI
+# for the linting.
+ci: true
+
+ddnsConfig:
+  config:
+    - provider: ionos
+      host: "@"
+      domain: example.com
+      ipVersion: ""
+      ionosApiKey: password

+ 0 - 0
community/ddns-updater/1.0.26/ci/linode-values.yaml → community/ddns-updater/1.0.27/ci/linode-values.yaml


+ 0 - 0
community/ddns-updater/1.0.26/ci/luadns-values.yaml → community/ddns-updater/1.0.27/ci/luadns-values.yaml


+ 0 - 0
community/ddns-updater/1.0.26/ci/namecheap-values.yaml → community/ddns-updater/1.0.27/ci/namecheap-values.yaml


+ 20 - 0
community/ddns-updater/1.0.27/ci/namecom-values.yaml

@@ -0,0 +1,20 @@
+ddnsStorage:
+  data:
+    type: hostPath
+    hostPath: /mnt/{{ .Release.Name }}/data
+
+# This disables probes.
+# As we can't have for each provider
+# an api key, we just run through CI
+# for the linting.
+ci: true
+
+ddnsConfig:
+  config:
+    - provider: name.com
+      host: subdomain
+      domain: example.com
+      ipVersion: ""
+      namecomUsername: "abcdef123456abcdef123456abcdef12"
+      namecomToken: "abcdef123456abcdef123456abcdef12"
+      namecomTtl: 300

+ 20 - 0
community/ddns-updater/1.0.27/ci/netcup-values.yaml

@@ -0,0 +1,20 @@
+ddnsStorage:
+  data:
+    type: hostPath
+    hostPath: /mnt/{{ .Release.Name }}/data
+
+# This disables probes.
+# As we can't have for each provider
+# an api key, we just run through CI
+# for the linting.
+ci: true
+
+ddnsConfig:
+  config:
+    - provider: netcup
+      host: "@"
+      domain: example.com
+      ipVersion: ""
+      netcupApiKey: apikey
+      netcupPassword: password
+      netcupCustomerNumber: customer

+ 0 - 0
community/ddns-updater/1.0.26/ci/njalla-values.yaml → community/ddns-updater/1.0.27/ci/njalla-values.yaml


+ 0 - 0
community/ddns-updater/1.0.26/ci/noip-values.yaml → community/ddns-updater/1.0.27/ci/noip-values.yaml


+ 19 - 0
community/ddns-updater/1.0.27/ci/nowdns-values.yaml

@@ -0,0 +1,19 @@
+ddnsStorage:
+  data:
+    type: hostPath
+    hostPath: /mnt/{{ .Release.Name }}/data
+
+# This disables probes.
+# As we can't have for each provider
+# an api key, we just run through CI
+# for the linting.
+ci: true
+
+ddnsConfig:
+  config:
+    - provider: nowdns
+      host: "@"
+      domain: example.com
+      ipVersion: ""
+      nowdnsUsername: user
+      nowdnsPassword: password

+ 0 - 0
community/ddns-updater/1.0.26/ci/opendns-values.yaml → community/ddns-updater/1.0.27/ci/opendns-values.yaml


+ 0 - 0
community/ddns-updater/1.0.26/ci/ovh-values.yaml → community/ddns-updater/1.0.27/ci/ovh-values.yaml


+ 0 - 0
community/ddns-updater/1.0.26/ci/porkbun-values.yaml → community/ddns-updater/1.0.27/ci/porkbun-values.yaml


+ 0 - 0
community/ddns-updater/1.0.26/ci/selfhostedde-values.yaml → community/ddns-updater/1.0.27/ci/selfhostedde-values.yaml


+ 0 - 0
community/ddns-updater/1.0.26/ci/servercow-values.yaml → community/ddns-updater/1.0.27/ci/servercow-values.yaml


+ 0 - 0
community/ddns-updater/1.0.26/ci/spdyn-values.yaml.yaml → community/ddns-updater/1.0.27/ci/spdyn-values.yaml.yaml


Unele fișiere nu au fost afișate deoarece prea multe fișiere au fost modificate în acest diff