diff --git a/dependency/promtail/6.0.0/CHANGELOG.md b/dependency/promtail/6.0.0/CHANGELOG.md new file mode 100644 index 00000000000..c0f5571c6c5 --- /dev/null +++ b/dependency/promtail/6.0.0/CHANGELOG.md @@ -0,0 +1,99 @@ +**Important:** +*for the complete changelog, please refer to the website* + + + + +## [promtail-4.0.0](https://github.com/truecharts/charts/compare/promtail-3.0.80...promtail-4.0.0) (2022-11-10) + +### Chore + +- Major Change to GUI + + + + +## [promtail-3.0.80](https://github.com/truecharts/charts/compare/promtail-3.0.79...promtail-3.0.80) (2022-11-09) + +### Chore + +- update helm chart common to v10.9.5 + + + + +## [promtail-3.0.79](https://github.com/truecharts/charts/compare/promtail-3.0.78...promtail-3.0.79) (2022-11-08) + +### Chore + +- update helm chart common to v10.9.4 + + + + +## [promtail-3.0.78](https://github.com/truecharts/charts/compare/promtail-3.0.77...promtail-3.0.78) (2022-11-08) + +### Chore + +- update helm chart common to v10.9.3 ([#4348](https://github.com/truecharts/charts/issues/4348)) + + + + +## [promtail-3.0.77](https://github.com/truecharts/charts/compare/promtail-3.0.76...promtail-3.0.77) (2022-11-07) + +### Chore + +- update helm chart common to v10.9.1 ([#4339](https://github.com/truecharts/charts/issues/4339)) + + + + +## [promtail-3.0.76](https://github.com/truecharts/charts/compare/promtail-3.0.75...promtail-3.0.76) (2022-11-07) + +### Chore + +- update helm chart common to v10.9.0 ([#4337](https://github.com/truecharts/charts/issues/4337)) + + + + +## [redis-3.0.117](https://github.com/truecharts/charts/compare/redisinsight-0.0.37...redis-3.0.117) (2022-11-06) + +### Chore + +- update helm chart common to v10.8.1 ([#4326](https://github.com/truecharts/charts/issues/4326)) + + + + +## [redis-3.0.116](https://github.com/truecharts/charts/compare/redis-3.0.114...redis-3.0.116) (2022-11-05) + +### Chore + +- Auto-update chart README [skip ci] + - update helm chart common to v10.8.0 ([#4305](https://github.com/truecharts/charts/issues/4305)) + - update helm chart common to v10.7.19 ([#4305](https://github.com/truecharts/charts/issues/4305)) + + + + +## [redis-3.0.114](https://github.com/truecharts/charts/compare/redis-3.0.113...redis-3.0.114) (2022-11-04) + +### Chore + +- Auto-update chart README [skip ci] + - update helm chart common to v10.7.15 + + + + + +## [redis-3.0.112](https://github.com/truecharts/charts/compare/redisinsight-0.0.35...redis-3.0.112) (2022-11-03) + +### Chore + +- update helm chart common to v10.7.14 + + + diff --git a/dependency/promtail/6.0.0/Chart.yaml b/dependency/promtail/6.0.0/Chart.yaml new file mode 100644 index 00000000000..16352f8308e --- /dev/null +++ b/dependency/promtail/6.0.0/Chart.yaml @@ -0,0 +1,32 @@ +apiVersion: v2 +appVersion: "2.7.0" +dependencies: + - name: common + repository: https://library-charts.truecharts.org + version: 11.0.3 +deprecated: false +description: Promtail is an agent which ships the contents of local logs to a Loki instance +icon: https://truecharts.org/img/hotlink-ok/chart-icons/promtail.png +home: https://truecharts.org/docs/charts/dependency/promtail +keywords: + - metrics + - logs +kubeVersion: ">=1.16.0-0" +maintainers: + - email: info@truecharts.org + name: TrueCharts + url: https://truecharts.org +name: promtail +sources: + - https://github.com/truecharts/charts/tree/master/charts/dependency/promtail + - https://github.com/grafana/loki + - https://grafana.com/oss/loki/ + - https://grafana.com/docs/loki/latest/ +type: application +version: 6.0.0 +annotations: + truecharts.org/catagories: | + - metrics + - logs + truecharts.org/SCALE-support: "true" + truecharts.org/grade: U diff --git a/dependency/promtail/6.0.0/README.md b/dependency/promtail/6.0.0/README.md new file mode 100644 index 00000000000..a27bc241cd3 --- /dev/null +++ b/dependency/promtail/6.0.0/README.md @@ -0,0 +1,108 @@ +# promtail + +Promtail is an agent which ships the contents of local logs to a Loki instance + +TrueCharts can be installed as both *normal* Helm Charts or as Apps on TrueNAS SCALE. + +This readme is just an automatically generated general guide on installing our Helm Charts and Apps. +For more information, please click here: [promtail](https://truecharts.org/docs/charts/dependency/promtail) + +**This chart is not maintained by the upstream project and any issues with the chart should be raised [here](https://github.com/truecharts/charts/issues/new/choose)** + +## Source Code + +* +* +* +* + +## Requirements + +Kubernetes: `>=1.16.0-0` + +## Dependencies + +| Repository | Name | Version | +|------------|------|---------| +| https://library-charts.truecharts.org | common | 10.9.5 | + +## Installing the Chart + +### TrueNAS SCALE + +To install this Chart on TrueNAS SCALE check our [Quick-Start Guide](https://truecharts.org/docs/manual/SCALE%20Apps/Installing-an-App). + +### Helm + +To install the chart with the release name `promtail` + +```console +helm repo add TrueCharts https://charts.truecharts.org +helm repo update +helm install promtail TrueCharts/promtail +``` + +## Uninstall + +### TrueNAS SCALE + +**Upgrading, Rolling Back and Uninstalling the Chart** + +To upgrade, rollback or delete this Chart from TrueNAS SCALE check our [Quick-Start Guide](https://truecharts.org/docs/manual/SCALE%20Apps/Upgrade-rollback-delete-an-App). + +### Helm + +To uninstall the `promtail` deployment + +```console +helm uninstall promtail +``` + +## Configuration + +### Helm + +#### Available Settings + +Read through the values.yaml file. It has several commented out suggested values. +Other values may be used from the [values.yaml](https://github.com/truecharts/library-charts/tree/main/charts/stable/common/values.yaml) from the [common library](https://github.com/truecharts/library-charts/tree/main/charts/common). + +#### Configure using the command line + +Specify each parameter using the `--set key=value[,key=value]` argument to `helm install`. + +```console +helm install promtail \ + --set env.TZ="America/New York" \ + TrueCharts/promtail +``` + +#### Configure using a yaml file + +Alternatively, a YAML file that specifies the values for the above parameters can be provided while installing the chart. + +```console +helm install promtail TrueCharts/promtail -f values.yaml +``` + +#### Connecting to other charts + +If you need to connect this Chart to other Charts on TrueNAS SCALE, please refer to our [Linking Charts Internally](https://truecharts.org/docs/manual/SCALE%20Apps/linking-apps) quick-start guide. + +## Support + +- Please check our [quick-start guides for TrueNAS SCALE](https://truecharts.org/docs/manual/SCALE%20Apps/Important-MUST-READ). +- See the [Website](https://truecharts.org) +- Check our [Discord](https://discord.gg/tVsPTHWTtr) +- Open a [issue](https://github.com/truecharts/apps/issues/new/choose) + +--- + +## Sponsor TrueCharts + +TrueCharts can only exist due to the incredible effort of our staff. +Please consider making a [donation](https://truecharts.org/sponsor) or contributing back to the project any way you can! + +--- + +All Rights Reserved - The TrueCharts Project diff --git a/dependency/promtail/6.0.0/app-changelog.md b/dependency/promtail/6.0.0/app-changelog.md new file mode 100644 index 00000000000..cf22480db24 --- /dev/null +++ b/dependency/promtail/6.0.0/app-changelog.md @@ -0,0 +1,4 @@ + + +## [promtail-6.0.0](https://github.com/truecharts/charts/compare/promtail-5.0.2...promtail-6.0.0) (2022-11-19) + diff --git a/dependency/promtail/6.0.0/app-readme.md b/dependency/promtail/6.0.0/app-readme.md new file mode 100644 index 00000000000..b16d51386fc --- /dev/null +++ b/dependency/promtail/6.0.0/app-readme.md @@ -0,0 +1,8 @@ +Promtail is an agent which ships the contents of local logs to a Loki instance + +This App is supplied by TrueCharts, for more information visit the manual: [https://truecharts.org/docs/charts/dependency/promtail](https://truecharts.org/docs/charts/dependency/promtail) + +--- + +TrueCharts can only exist due to the incredible effort of our staff. +Please consider making a [donation](https://truecharts.org/docs/about/sponsor) or contributing back to the project any way you can! diff --git a/stable/loki/8.0.2/charts/common-11.0.3.tgz b/dependency/promtail/6.0.0/charts/common-11.0.3.tgz similarity index 100% rename from stable/loki/8.0.2/charts/common-11.0.3.tgz rename to dependency/promtail/6.0.0/charts/common-11.0.3.tgz diff --git a/dependency/promtail/6.0.0/ix_values.yaml b/dependency/promtail/6.0.0/ix_values.yaml new file mode 100644 index 00000000000..8cc9c19792a --- /dev/null +++ b/dependency/promtail/6.0.0/ix_values.yaml @@ -0,0 +1,255 @@ +image: + repository: ghcr.io/truecharts/promtail + tag: 2.7.0@sha256:fe9225ace310ae8b965604138a82d41a7bd6123221d8a811646e56dd9499705b + +# controller: +# # -- Set the controller type. +# # Valid options are deployment, daemonset or statefulset +# type: daemonset + +args: + - "-config.file=/etc/promtail/promtail.yaml" + +secret: + config: + enabled: true + data: + promtail.yaml: | + {{- tpl .Values.config.file . | nindent 4 }} + +env: + HOSTNAME: + fieldRef: + fieldPath: spec.nodeName + +service: + main: + ports: + main: + targetPort: 3101 + port: 3101 +probes: + liveness: + path: "/ready" + + readiness: + path: "/ready" + + startup: + path: "/ready" + +# -- The security context for pods +podSecurityContext: + runAsUser: 0 + runAsGroup: 0 + +# -- The security context for containers +securityContext: + readOnlyRootFilesystem: true + capabilities: + drop: + - ALL + allowPrivilegeEscalation: false + runAsNonRoot: false + +persistence: + pods: + enabled: true + type: hostPath + mountPath: /var/log/pods + hostPath: /var/log/pods + readOnly: true + run: + enabled: true + type: hostPath + mountPath: /run/promtail + hostPath: /run/promtail + config: + enabled: true + type: secret + objectName: '{{ include "tc.common.names.fullname" . }}-config' + mountPath: /etc/promtail + +# -- Whether Role Based Access Control objects like roles and rolebindings should be created +rbac: + main: + enabled: true + rules: + - apiGroups: + - "" + resources: + - nodes + - nodes/proxy + - services + - endpoints + - pods + verbs: + - get + - watch + - list + +# -- The service account the pods will use to interact with the Kubernetes API +serviceAccount: + main: + enabled: true + +# -- Tolerations for pods. By default, pods will be scheduled on master/control-plane nodes. +tolerations: + - key: node-role.kubernetes.io/master + operator: Exists + effect: NoSchedule + - key: node-role.kubernetes.io/control-plane + operator: Exists + effect: NoSchedule + +# ServiceMonitor configuration +serviceMonitor: + # -- If enabled, ServiceMonitor resources for Prometheus Operator are created + enabled: false + # -- Alternative namespace for ServiceMonitor resources + namespace: null + # -- Namespace selector for ServiceMonitor resources + namespaceSelector: {} + # -- ServiceMonitor annotations + annotations: {} + # -- Additional ServiceMonitor labels + labels: {} + # -- ServiceMonitor scrape interval + interval: null + # -- ServiceMonitor scrape timeout in Go duration format (e.g. 15s) + scrapeTimeout: null + +# -- Section for crafting Promtails config file. The only directly relevant value is `config.file` +# which is a templated string that references the other values and snippets below this key. +# @default -- See `values.yaml` +config: + # -- The log level of the Promtail server + # Must be reference in `config.file` to configure `server.log_level` + # See default config in `values.yaml` + logLevel: info + # -- The port of the Promtail server + # Must be reference in `config.file` to configure `server.http_listen_port` + # See default config in `values.yaml` + serverPort: 3101 + # -- The Loki address to post logs to. + # Must be reference in `config.file` to configure `client.url`. + # See default config in `values.yaml` + lokiAddress: "" + # -- A section of reusable snippets that can be reference in `config.file`. + # Custom snippets may be added in order to reduce redundancy. + # This is especially helpful when multiple `kubernetes_sd_configs` are use which usually have large parts in common. + # @default -- See `values.yaml` + snippets: + pipelineStages: + - cri: {} + common: + - action: replace + source_labels: + - __meta_kubernetes_pod_node_name + target_label: node_name + - action: replace + source_labels: + - __meta_kubernetes_namespace + target_label: namespace + - action: replace + replacement: $1 + separator: / + source_labels: + - namespace + - app + target_label: job + - action: replace + source_labels: + - __meta_kubernetes_pod_name + target_label: pod + - action: replace + source_labels: + - __meta_kubernetes_pod_container_name + target_label: container + - action: replace + replacement: /var/log/pods/*$1/*.log + separator: / + source_labels: + - __meta_kubernetes_pod_uid + - __meta_kubernetes_pod_container_name + target_label: __path__ + - action: replace + replacement: /var/log/pods/*$1/*.log + regex: true/(.*) + separator: / + source_labels: + - __meta_kubernetes_pod_annotationpresent_kubernetes_io_config_hash + - __meta_kubernetes_pod_annotation_kubernetes_io_config_hash + - __meta_kubernetes_pod_container_name + target_label: __path__ + + # If set to true, adds an additional label for the scrape job. + # This helps debug the Promtail config. + addScrapeJobLabel: false + + # -- You can put here any keys that will be directly added to the config file's 'client' block. + # @default -- empty + extraClientConfigs: "" + + # -- You can put here any additional scrape configs you want to add to the config file. + # @default -- empty + extraScrapeConfigs: "" + + # -- You can put here any additional relabel_configs to "kubernetes-pods" job + extraRelabelConfigs: [] + + scrapeConfigs: | + # See also https://github.com/grafana/loki/blob/master/production/ksonnet/promtail/scrape_config.libsonnet for reference + - job_name: kubernetes-pods + pipeline_stages: + {{- toYaml .Values.config.snippets.pipelineStages | nindent 4 }} + kubernetes_sd_configs: + - role: pod + relabel_configs: + - source_labels: + - __meta_kubernetes_pod_controller_name + regex: ([0-9a-z-.]+?)(-[0-9a-f]{8,10})? + action: replace + target_label: __tmp_controller_name + - source_labels: + - __meta_kubernetes_pod_label_app_kubernetes_io_name + - __meta_kubernetes_pod_label_app + - __tmp_controller_name + - __meta_kubernetes_pod_name + regex: ^;*([^;]+)(;.*)?$ + action: replace + target_label: app + - source_labels: + - __meta_kubernetes_pod_label_app_kubernetes_io_component + - __meta_kubernetes_pod_label_component + regex: ^;*([^;]+)(;.*)?$ + action: replace + target_label: component + {{- if .Values.config.snippets.addScrapeJobLabel }} + - replacement: kubernetes-pods + target_label: scrape_job + {{- end }} + {{- toYaml .Values.config.snippets.common | nindent 4 }} + {{- with .Values.config.snippets.extraRelabelConfigs }} + {{- toYaml . | nindent 4 }} + {{- end }} + + # -- Config file contents for Promtail. + # Must be configured as string. + # It is templated so it can be assembled from reusable snippets in order to avoid redundancy. + # @default -- See `values.yaml` + file: | + server: + log_level: {{ .Values.config.logLevel }} + http_listen_port: {{ .Values.config.serverPort }} + + client: + url: {{ .Values.config.lokiAddress | default ( printf "http://%v.%v.svc.cluster.local:3100/loki/api/v1/push" .Release.Name .Release.Namespace ) }} + {{- tpl .Values.config.snippets.extraClientConfigs . | nindent 2 }} + + positions: + filename: /run/promtail/positions.yaml + + scrape_configs: + {{- tpl .Values.config.snippets.scrapeConfigs . | nindent 2 }} + {{- tpl .Values.config.snippets.extraScrapeConfigs . | nindent 2 }} diff --git a/dependency/promtail/6.0.0/questions.yaml b/dependency/promtail/6.0.0/questions.yaml new file mode 100644 index 00000000000..8da5bcdb38b --- /dev/null +++ b/dependency/promtail/6.0.0/questions.yaml @@ -0,0 +1,1086 @@ +groups: + - name: Container Image + description: Image to be used for container + - name: General Settings + description: General Deployment Settings + - name: App Configuration + description: App Specific Config Options + - name: Networking and Services + description: Configure Network and Services for Container + - name: Storage and Persistence + description: Persist and Share Data that is Separate from the Container + - name: Ingress + description: Ingress Configuration + - name: Security and Permissions + description: Configure Security Context and Permissions + - name: Resources and Devices + description: "Specify Resources/Devices to be Allocated to Workload" + - name: Middlewares + description: Traefik Middlewares + - name: Metrics + description: Metrics + - name: VPN + description: VPN + - name: Addons + description: Addon Configuration + - name: Advanced + description: Advanced Configuration + - name: Documentation + description: Documentation +portals: {} +questions: + - variable: service + group: Networking and Services + label: Configure Service(s) + schema: + additional_attrs: true + type: dict + attrs: + - variable: main + label: "Main Service" + description: "The serving the Prometheus WebUI" + schema: + additional_attrs: true + type: dict + attrs: + - variable: enabled + label: Enable the Service + schema: + type: boolean + default: true + hidden: true + - variable: type + label: Service Type + description: "ClusterIP's are only internally available and Loadbalancer exposes the service using the system loadbalancer" + schema: + type: string + default: LoadBalancer + enum: + - value: LoadBalancer + description: LoadBalancer (Expose Ports) + - value: ClusterIP + description: ClusterIP (Do Not Expose Ports) + - value: Simple + description: Deprecated CHANGE THIS + - variable: loadBalancerIP + label: LoadBalancer IP + description: "MetalLB Only: Selects the Loadbalancer IP to expose on. Required when using PortalButton with MetalLB" + schema: + show_if: [["type", "=", "LoadBalancer"]] + type: string + default: "" + - variable: ports + label: "Service's Port(s) Configuration" + schema: + additional_attrs: true + type: dict + attrs: + - variable: main + label: "Main Service Port Configuration" + schema: + additional_attrs: true + type: dict + attrs: + - variable: port + label: "Port" + description: "This port exposes the container port on the service" + schema: + type: int + default: 3101 + required: true + - variable: serviceexpert + group: Networking and Services + label: Show Expert Config + schema: + type: boolean + default: false + show_subquestions_if: true + subquestions: + - variable: hostNetwork + group: Networking and Services + label: Host-Networking (Complicated) + schema: + type: boolean + default: false + - variable: externalInterfaces + description: Add External Interfaces + label: Add external Interfaces + group: Networking + schema: + type: list + items: + - variable: interfaceConfiguration + description: Interface Configuration + label: Interface Configuration + schema: + type: dict + $ref: + - "normalize/interfaceConfiguration" + attrs: + - variable: hostInterface + description: Please Specify Host Interface + label: Host Interface + schema: + type: string + required: true + $ref: + - "definitions/interface" + - variable: ipam + description: Define how IP Address will be managed + label: IP Address Management + schema: + type: dict + required: true + attrs: + - variable: type + description: Specify type for IPAM + label: IPAM Type + schema: + type: string + required: true + enum: + - value: dhcp + description: Use DHCP + - value: static + description: Use Static IP + show_subquestions_if: static + subquestions: + - variable: staticIPConfigurations + label: Static IP Addresses + schema: + type: list + items: + - variable: staticIP + label: Static IP + schema: + type: ipaddr + cidr: true + - variable: staticRoutes + label: Static Routes + schema: + type: list + items: + - variable: staticRouteConfiguration + label: Static Route Configuration + schema: + additional_attrs: true + type: dict + attrs: + - variable: destination + label: Destination + schema: + type: ipaddr + cidr: true + required: true + - variable: gateway + label: Gateway + schema: + type: ipaddr + cidr: false + required: true + - variable: serviceList + label: Add Manual Custom Services + group: Networking and Services + schema: + type: list + default: [] + items: + - variable: serviceListEntry + label: Custom Service + schema: + additional_attrs: true + type: dict + attrs: + - variable: enabled + label: Enable the service + schema: + type: boolean + default: true + hidden: true + - variable: name + label: Name + schema: + type: string + default: "" + - variable: type + label: Service Type + description: "ClusterIP's are only internally available and Loadbalancer exposes the service using the system loadbalancer" + schema: + type: string + default: LoadBalancer + enum: + - value: LoadBalancer + description: LoadBalancer (Expose Ports) + - value: ClusterIP + description: ClusterIP (Do Not Expose Ports) + - value: Simple + description: Deprecated CHANGE THIS + - variable: loadBalancerIP + label: LoadBalancer IP + description: "MetalLB Only: Selects the Loadbalancer IP to expose on. Required when using PortalButton with MetalLB" + schema: + show_if: [["type", "=", "LoadBalancer"]] + type: string + default: "" + - variable: advancedsvcset + label: Show Advanced Service Settings + schema: + type: boolean + default: false + show_subquestions_if: true + subquestions: + - variable: externalIPs + label: "External IP's" + description: "External IP's" + schema: + type: list + default: [] + items: + - variable: externalIP + label: External IP + schema: + type: string + - variable: ipFamilyPolicy + label: IP Family Policy + description: Specify the IP Policy + schema: + type: string + default: SingleStack + enum: + - value: SingleStack + description: SingleStack + - value: PreferDualStack + description: PreferDualStack + - value: RequireDualStack + description: RequireDualStack + - variable: ipFamilies + label: IP Families + description: (Advanced) The IP Families that should be used + schema: + type: list + default: [] + items: + - variable: ipFamily + label: IP Family + schema: + type: string + - variable: portsList + label: Additional Service Ports + schema: + type: list + default: [] + items: + - variable: portsListEntry + label: Custom ports + schema: + additional_attrs: true + type: dict + attrs: + - variable: enabled + label: Enable the Port + schema: + type: boolean + default: true + hidden: true + - variable: name + label: Port Name + schema: + type: string + default: "" + - variable: protocol + label: Port Type + schema: + type: string + default: TCP + enum: + - value: HTTP + description: HTTP + - value: HTTPS + description: HTTPS + - value: TCP + description: TCP + - value: UDP + description: UDP + - variable: targetPort + label: Target Port + description: This port exposes the container port on the service + schema: + type: int + required: true + - variable: port + label: Container Port + schema: + type: int + required: true + - variable: persistenceList + label: Additional App Storage + group: Storage and Persistence + schema: + type: list + default: [] + items: + - variable: persistenceListEntry + label: Custom Storage + schema: + additional_attrs: true + type: dict + attrs: + - variable: enabled + label: Enable the storage + schema: + type: boolean + default: true + hidden: true + - variable: type + label: Type of Storage + description: Sets the persistence type, Anything other than PVC could break rollback! + schema: + type: string + default: hostPath + enum: + - value: pvc + description: PVC + - value: hostPath + description: Host Path + - value: emptyDir + description: emptyDir + - value: nfs + description: NFS Share + - variable: server + label: NFS Server + schema: + show_if: [["type", "=", "nfs"]] + type: string + default: "" + - variable: path + label: Path on NFS Server + schema: + show_if: [["type", "=", "nfs"]] + type: string + default: "" + - variable: setPermissions + label: Automatic Permissions + description: Automatically set permissions on install + schema: + show_if: [["type", "=", "hostPath"]] + type: boolean + default: false + - variable: readOnly + label: Read Only + schema: + type: boolean + default: false + - variable: hostPath + label: Host Path + description: Path inside the container the storage is mounted + schema: + show_if: [["type", "=", "hostPath"]] + type: hostpath + - variable: mountPath + label: Mount Path + description: Path inside the container the storage is mounted + schema: + type: string + default: "" + required: true + valid_chars: '^\/([a-zA-Z0-9._-]+(\s?[a-zA-Z0-9._-]+|\/?))+$' + - variable: medium + label: EmptyDir Medium + schema: + show_if: [["type", "=", "emptyDir"]] + type: string + default: "" + enum: + - value: "" + description: Default + - value: Memory + description: Memory + - variable: size + label: Size Quotum of Storage + schema: + show_if: [["type", "=", "pvc"]] + type: string + default: 256Gi + - variable: ingress + label: "" + group: Ingress + schema: + additional_attrs: true + type: dict + attrs: + - variable: main + label: "Main Ingress" + schema: + additional_attrs: true + type: dict + attrs: + - variable: enabled + label: Enable Ingress + schema: + type: boolean + default: false + show_subquestions_if: true + subquestions: + - variable: hosts + label: Hosts + schema: + type: list + default: [] + items: + - variable: hostEntry + label: Host + schema: + additional_attrs: true + type: dict + attrs: + - variable: host + label: HostName + schema: + type: string + default: "" + required: true + - variable: paths + label: Paths + schema: + type: list + default: [] + items: + - variable: pathEntry + label: Host + schema: + additional_attrs: true + type: dict + attrs: + - variable: path + label: Path + schema: + type: string + required: true + default: "/" + - variable: pathType + label: Path Type + schema: + type: string + required: true + default: Prefix + - variable: tls + label: TLS-Settings + schema: + type: list + default: [] + items: + - variable: tlsEntry + label: Host + schema: + additional_attrs: true + type: dict + attrs: + - variable: hosts + label: Certificate Hosts + schema: + type: list + default: [] + items: + - variable: host + label: Host + schema: + type: string + default: "" + required: true + - variable: scaleCert + label: Select TrueNAS SCALE Certificate + schema: + type: int + $ref: + - "definitions/certificate" + - variable: entrypoint + label: (Advanced) Traefik Entrypoint + description: Entrypoint used by Traefik when using Traefik as Ingress Provider + schema: + type: string + default: websecure + required: true + - variable: ingressClassName + label: (Advanced/Optional) IngressClass Name + schema: + type: string + default: "" + - variable: middlewares + label: Traefik Middlewares + description: Add previously created Traefik Middlewares to this Ingress + schema: + type: list + default: [] + items: + - variable: name + label: Name + schema: + type: string + default: "" + required: true + - variable: ingressList + label: Add Manual Custom Ingresses + group: Ingress + schema: + type: list + default: [] + items: + - variable: ingressListEntry + label: Custom Ingress + schema: + additional_attrs: true + type: dict + attrs: + - variable: enabled + label: Enable Ingress + schema: + type: boolean + default: true + hidden: true + - variable: name + label: Name + schema: + type: string + default: "" + - variable: ingressClassName + label: IngressClass Name + schema: + type: string + default: "" + - variable: hosts + label: Hosts + schema: + type: list + default: [] + items: + - variable: hostEntry + label: Host + schema: + additional_attrs: true + type: dict + attrs: + - variable: host + label: HostName + schema: + type: string + default: "" + required: true + - variable: paths + label: Paths + schema: + type: list + default: [] + items: + - variable: pathEntry + label: Host + schema: + additional_attrs: true + type: dict + attrs: + - variable: path + label: Path + schema: + type: string + required: true + default: "/" + - variable: pathType + label: Path Type + schema: + type: string + required: true + default: Prefix + - variable: service + label: Linked Service + schema: + additional_attrs: true + type: dict + attrs: + - variable: name + label: Service Name + schema: + type: string + default: "" + - variable: port + label: Service Port + schema: + type: int + - variable: tls + label: TLS-Settings + schema: + type: list + default: [] + items: + - variable: tlsEntry + label: Host + schema: + additional_attrs: true + type: dict + attrs: + - variable: hosts + label: Certificate Hosts + schema: + type: list + default: [] + items: + - variable: host + label: Host + schema: + type: string + default: "" + required: true + - variable: scaleCert + label: Select TrueNAS SCALE Certificate + schema: + type: int + $ref: + - "definitions/certificate" + - variable: entrypoint + label: Traefik Entrypoint + description: Entrypoint used by Traefik when using Traefik as Ingress Provider + schema: + type: string + default: websecure + required: true + - variable: middlewares + label: Traefik Middlewares + description: Add previously created Traefik Middlewares to this Ingress + schema: + type: list + default: [] + items: + - variable: name + label: Name + schema: + type: string + default: "" + required: true + - variable: horizontalPodAutoscaler + group: Advanced + label: (Advanced) Horizontal Pod Autoscaler + schema: + type: list + default: [] + items: + - variable: hpaEntry + label: HPA Entry + schema: + additional_attrs: true + type: dict + attrs: + - variable: name + label: Name + schema: + type: string + required: true + default: "" + - variable: enabled + label: Enabled + schema: + type: boolean + default: false + show_subquestions_if: true + subquestions: + - variable: target + label: Target + description: Deployment name, Defaults to Main Deployment + schema: + type: string + default: "" + - variable: minReplicas + label: Minimum Replicas + schema: + type: int + default: 1 + - variable: maxReplicas + label: Maximum Replicas + schema: + type: int + default: 5 + - variable: targetCPUUtilizationPercentage + label: Target CPU Utilization Percentage + schema: + type: int + default: 80 + - variable: targetMemoryUtilizationPercentage + label: Target Memory Utilization Percentage + schema: + type: int + default: 80 + - variable: networkPolicy + group: Advanced + label: (Advanced) Network Policy + schema: + type: list + default: [] + items: + - variable: netPolicyEntry + label: Network Policy Entry + schema: + additional_attrs: true + type: dict + attrs: + - variable: name + label: Name + schema: + type: string + required: true + default: "" + - variable: enabled + label: Enabled + schema: + type: boolean + default: false + show_subquestions_if: true + subquestions: + - variable: policyType + label: Policy Type + schema: + type: string + default: "" + enum: + - value: "" + description: Default + - value: ingress + description: Ingress + - value: egress + description: Egress + - value: ingress-egress + description: Ingress and Egress + - variable: egress + label: Egress + schema: + type: list + default: [] + items: + - variable: egressEntry + label: "" + schema: + additional_attrs: true + type: dict + attrs: + - variable: to + label: To + schema: + type: list + default: [] + items: + - variable: toEntry + label: "" + schema: + additional_attrs: true + type: dict + attrs: + - variable: ipBlock + label: IP Block + schema: + additional_attrs: true + type: dict + attrs: + - variable: cidr + label: CIDR + schema: + type: string + default: "" + - variable: except + label: Except + schema: + type: list + default: [] + items: + - variable: exceptint + label: "" + schema: + type: string + - variable: namespaceSelector + label: Namespace Selector + schema: + additional_attrs: true + type: dict + attrs: + - variable: matchExpressions + label: Match Expressions + schema: + type: list + default: [] + items: + - variable: expressionEntry + label: "" + schema: + additional_attrs: true + type: dict + attrs: + - variable: key + label: Key + schema: + type: string + - variable: operator + label: Operator + schema: + type: string + default: TCP + enum: + - value: In + description: In + - value: NotIn + description: NotIn + - value: Exists + description: Exists + - value: DoesNotExist + description: DoesNotExist + - variable: values + label: Values + schema: + type: list + default: [] + items: + - variable: value + label: "" + schema: + type: string + - variable: podSelector + label: "" + schema: + additional_attrs: true + type: dict + attrs: + - variable: matchExpressions + label: Match Expressions + schema: + type: list + default: [] + items: + - variable: expressionEntry + label: "" + schema: + additional_attrs: true + type: dict + attrs: + - variable: key + label: Key + schema: + type: string + - variable: operator + label: Operator + schema: + type: string + default: TCP + enum: + - value: In + description: In + - value: NotIn + description: NotIn + - value: Exists + description: Exists + - value: DoesNotExist + description: DoesNotExist + - variable: values + label: Values + schema: + type: list + default: [] + items: + - variable: value + label: "" + schema: + type: string + - variable: ports + label: Ports + schema: + type: list + default: [] + items: + - variable: portsEntry + label: "" + schema: + additional_attrs: true + type: dict + attrs: + - variable: port + label: Port + schema: + type: int + - variable: endPort + label: End Port + schema: + type: int + - variable: protocol + label: Protocol + schema: + type: string + default: TCP + enum: + - value: TCP + description: TCP + - value: UDP + description: UDP + - value: SCTP + description: SCTP + - variable: ingress + label: Ingress + schema: + type: list + default: [] + items: + - variable: ingressEntry + label: "" + schema: + additional_attrs: true + type: dict + attrs: + - variable: from + label: From + schema: + type: list + default: [] + items: + - variable: fromEntry + label: "" + schema: + additional_attrs: true + type: dict + attrs: + - variable: ipBlock + label: IP Block + schema: + additional_attrs: true + type: dict + attrs: + - variable: cidr + label: CIDR + schema: + type: string + default: "" + - variable: except + label: Except + schema: + type: list + default: [] + items: + - variable: exceptint + label: "" + schema: + type: string + - variable: namespaceSelector + label: Namespace Selector + schema: + additional_attrs: true + type: dict + attrs: + - variable: matchExpressions + label: Match Expressions + schema: + type: list + default: [] + items: + - variable: expressionEntry + label: "" + schema: + additional_attrs: true + type: dict + attrs: + - variable: key + label: Key + schema: + type: string + - variable: operator + label: Operator + schema: + type: string + default: TCP + enum: + - value: In + description: In + - value: NotIn + description: NotIn + - value: Exists + description: Exists + - value: DoesNotExist + description: DoesNotExist + - variable: values + label: Values + schema: + type: list + default: [] + items: + - variable: value + label: "" + schema: + type: string + - variable: podSelector + label: "" + schema: + additional_attrs: true + type: dict + attrs: + - variable: matchExpressions + label: Match Expressions + schema: + type: list + default: [] + items: + - variable: expressionEntry + label: "" + schema: + additional_attrs: true + type: dict + attrs: + - variable: key + label: Key + schema: + type: string + - variable: operator + label: Operator + schema: + type: string + default: TCP + enum: + - value: In + description: In + - value: NotIn + description: NotIn + - value: Exists + description: Exists + - value: DoesNotExist + description: DoesNotExist + - variable: values + label: Values + schema: + type: list + default: [] + items: + - variable: value + label: "" + schema: + type: string + - variable: ports + label: Ports + schema: + type: list + default: [] + items: + - variable: portsEntry + label: "" + schema: + additional_attrs: true + type: dict + attrs: + - variable: port + label: Port + schema: + type: int + - variable: endPort + label: End Port + schema: + type: int + - variable: protocol + label: Protocol + schema: + type: string + default: TCP + enum: + - value: TCP + description: TCP + - value: UDP + description: UDP + - value: SCTP + description: SCTP diff --git a/dependency/promtail/6.0.0/templates/_servicemonitor.tpl b/dependency/promtail/6.0.0/templates/_servicemonitor.tpl new file mode 100644 index 00000000000..cda54130742 --- /dev/null +++ b/dependency/promtail/6.0.0/templates/_servicemonitor.tpl @@ -0,0 +1,34 @@ +{{- define "tc.promtail.servicemonitor" -}} +{{- if .Values.serviceMonitor.enabled }} +--- +apiVersion: monitoring.coreos.com/v1 +kind: ServiceMonitor +metadata: + name: {{ include "tc.common.names.fullname" . -}} + {{- with .Values.serviceMonitor.annotations }} + annotations: + {{- toYaml . | nindent 4 }} + {{- end }} + labels: + {{- include "tc.common.labels" . | nindent 4 }} + {{- with .Values.serviceMonitor.labels }} + {{- toYaml . | nindent 4 }} + {{- end }} +spec: + {{- with .Values.serviceMonitor.namespaceSelector }} + namespaceSelector: + {{- toYaml . | nindent 4 }} + {{- end }} + selector: + matchLabels: + {{- include "tc.common.labels.selectorLabels" . | nindent 6 }} + endpoints: + - port: http-metrics + {{- with .Values.serviceMonitor.interval }} + interval: {{ . }} + {{- end }} + {{- with .Values.serviceMonitor.scrapeTimeout }} + scrapeTimeout: {{ . }} + {{- end }} +{{- end }} +{{- end -}} diff --git a/dependency/promtail/6.0.0/templates/common.yaml b/dependency/promtail/6.0.0/templates/common.yaml new file mode 100644 index 00000000000..c3527e0fb07 --- /dev/null +++ b/dependency/promtail/6.0.0/templates/common.yaml @@ -0,0 +1,4 @@ +{{/* Render the templates */}} +{{ include "tc.common.loader.init" . }} +{{ include "tc.promtail.servicemonitor" . }} +{{ include "tc.common.loader.apply" . }} diff --git a/stable/loki/8.0.2/values.yaml b/dependency/promtail/6.0.0/values.yaml similarity index 100% rename from stable/loki/8.0.2/values.yaml rename to dependency/promtail/6.0.0/values.yaml diff --git a/stable/loki/8.0.2/app-changelog.md b/stable/loki/8.0.2/app-changelog.md deleted file mode 100644 index 4377e9dc3ce..00000000000 --- a/stable/loki/8.0.2/app-changelog.md +++ /dev/null @@ -1,10 +0,0 @@ - - -## [loki-8.0.2](https://github.com/truecharts/charts/compare/loki-8.0.0...loki-8.0.2) (2022-11-15) - -### Chore - -- update helm general non-major ([#4471](https://github.com/truecharts/charts/issues/4471)) - - update helm general non-major ([#4463](https://github.com/truecharts/charts/issues/4463)) - - \ No newline at end of file diff --git a/stable/loki/8.0.2/CHANGELOG.md b/stable/loki/8.0.3/CHANGELOG.md similarity index 100% rename from stable/loki/8.0.2/CHANGELOG.md rename to stable/loki/8.0.3/CHANGELOG.md diff --git a/stable/loki/8.0.2/Chart.yaml b/stable/loki/8.0.3/Chart.yaml similarity index 98% rename from stable/loki/8.0.2/Chart.yaml rename to stable/loki/8.0.3/Chart.yaml index 45df31f3c7e..1b979c46a5b 100644 --- a/stable/loki/8.0.2/Chart.yaml +++ b/stable/loki/8.0.3/Chart.yaml @@ -24,7 +24,7 @@ sources: - https://github.com/truecharts/charts/tree/master/charts/stable/loki - https://github.com/grafana/loki type: application -version: 8.0.2 +version: 8.0.3 annotations: truecharts.org/catagories: | - logs diff --git a/stable/loki/8.0.2/README.md b/stable/loki/8.0.3/README.md similarity index 100% rename from stable/loki/8.0.2/README.md rename to stable/loki/8.0.3/README.md diff --git a/stable/loki/8.0.3/app-changelog.md b/stable/loki/8.0.3/app-changelog.md new file mode 100644 index 00000000000..17a72788567 --- /dev/null +++ b/stable/loki/8.0.3/app-changelog.md @@ -0,0 +1,4 @@ + + +## [loki-8.0.3](https://github.com/truecharts/charts/compare/loki-8.0.2...loki-8.0.3) (2022-11-19) + diff --git a/stable/loki/8.0.2/app-readme.md b/stable/loki/8.0.3/app-readme.md similarity index 100% rename from stable/loki/8.0.2/app-readme.md rename to stable/loki/8.0.3/app-readme.md diff --git a/stable/loki/8.0.3/charts/common-11.0.3.tgz b/stable/loki/8.0.3/charts/common-11.0.3.tgz new file mode 100644 index 00000000000..3e5e549e532 Binary files /dev/null and b/stable/loki/8.0.3/charts/common-11.0.3.tgz differ diff --git a/stable/loki/8.0.2/charts/promtail-5.0.2.tgz b/stable/loki/8.0.3/charts/promtail-5.0.2.tgz similarity index 100% rename from stable/loki/8.0.2/charts/promtail-5.0.2.tgz rename to stable/loki/8.0.3/charts/promtail-5.0.2.tgz diff --git a/stable/loki/8.0.2/ix_values.yaml b/stable/loki/8.0.3/ix_values.yaml similarity index 100% rename from stable/loki/8.0.2/ix_values.yaml rename to stable/loki/8.0.3/ix_values.yaml diff --git a/stable/loki/8.0.2/questions.yaml b/stable/loki/8.0.3/questions.yaml similarity index 100% rename from stable/loki/8.0.2/questions.yaml rename to stable/loki/8.0.3/questions.yaml diff --git a/stable/loki/8.0.2/templates/_helpers.tpl b/stable/loki/8.0.3/templates/_helpers.tpl similarity index 100% rename from stable/loki/8.0.2/templates/_helpers.tpl rename to stable/loki/8.0.3/templates/_helpers.tpl diff --git a/stable/loki/8.0.2/templates/common.yaml b/stable/loki/8.0.3/templates/common.yaml similarity index 100% rename from stable/loki/8.0.2/templates/common.yaml rename to stable/loki/8.0.3/templates/common.yaml diff --git a/stable/loki/8.0.3/values.yaml b/stable/loki/8.0.3/values.yaml new file mode 100644 index 00000000000..e69de29bb2d