From 5ea8bb527e6ae113837e7ed81e312c9467942639 Mon Sep 17 00:00:00 2001 From: Gaius Date: Thu, 9 Sep 2021 21:14:44 +0800 Subject: [PATCH] feat: update image version (#8) Signed-off-by: Gaius --- charts/dragonfly/Chart.yaml | 17 +++++++---------- charts/dragonfly/README.md | 12 ++++++------ charts/dragonfly/values.yaml | 10 +++++----- 3 files changed, 18 insertions(+), 21 deletions(-) diff --git a/charts/dragonfly/Chart.yaml b/charts/dragonfly/Chart.yaml index b13aaf12..577bf00a 100644 --- a/charts/dragonfly/Chart.yaml +++ b/charts/dragonfly/Chart.yaml @@ -3,8 +3,8 @@ name: dragonfly description: Dragonfly is an intelligent P2P based image and file distribution system icon: https://raw.githubusercontent.com/dragonflyoss/Dragonfly2/main/docs/en/images/logo/dragonfly.svg type: application -version: "0.5.1" -appVersion: "0.5.1" +version: "0.5.2" +appVersion: "0.5.2" keywords: - dragonfly - d7y @@ -18,10 +18,7 @@ sources: annotations: artifacthub.io/changes: | - - Support config docker in daemonset - - Support config containerd in daemonset - - Support config CRI-O in daemonset - - Update dragonfly version to v0.5.0 + - Update dragonfly version to v2.0.0 artifacthub.io/links: | - name: Chart Source url: https://github.com/dragonflyoss/helm-charts @@ -29,13 +26,13 @@ annotations: url: https://github.com/dragonflyoss/Dragonfly2 artifacthub.io/images: | - name: dragonflyoss/manager - image: dragonflyoss/manager:v0.5.0 + image: dragonflyoss/manager:v2.0.0 - name: dragonflyoss/cdn - image: dragonflyoss/cdn:v0.5.0 + image: dragonflyoss/cdn:v2.0.0 - name: dragonflyoss/dfdaemon - image: dragonflyoss/dfdaemon:v0.5.0 + image: dragonflyoss/dfdaemon:v2.0.0 - name: dragonflyoss/scheduler - image: dragonflyoss/scheduler:v0.5.0 + image: dragonflyoss/scheduler:v2.0.0 dependencies: - name: mysql diff --git a/charts/dragonfly/README.md b/charts/dragonfly/README.md index f212a7c7..1d6a99f9 100644 --- a/charts/dragonfly/README.md +++ b/charts/dragonfly/README.md @@ -1,6 +1,6 @@ # Dragonfly Helm Chart -![Version: 0.5.1](https://img.shields.io/badge/Version-0.5.1-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.5.1](https://img.shields.io/badge/AppVersion-0.5.1-informational?style=flat-square) +![Version: 0.5.2](https://img.shields.io/badge/Version-0.5.2-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.5.2](https://img.shields.io/badge/AppVersion-0.5.2-informational?style=flat-square) Provide efficient, stable, secure, low-cost file and image distribution services to be the best practice and standard solution in the related Cloud-Native area. @@ -145,7 +145,7 @@ helm delete dragonfly --namespace dragonfly-system | cdn.resources | object | `{"limits":{"cpu":"4","memory":"8Gi"},"requests":{"cpu":"0","memory":"0"}}` | Pod resource requests and limits | | cdn.service | object | `{"extraPorts":[{"name":"http-nginx","port":8001,"targetPort":8001}],"port":8003,"targetPort":8003,"type":"ClusterIP"}` | Service configuration | | cdn.statefulsetAnnotations | object | `{}` | Statefulset annotations | -| cdn.tag | string | `"v0.5.0"` | Image tag | +| cdn.tag | string | `"v2.0.0"` | Image tag | | cdn.terminationGracePeriodSeconds | string | `nil` | Pod terminationGracePeriodSeconds | | cdn.tolerations | list | `[]` | List of node taints to tolerate | | clusterDomain | string | `"cluster.local"` | Install application cluster domain | @@ -158,7 +158,7 @@ helm delete dragonfly --namespace dragonfly-system | containerRuntime.docker | object | `{"caCert":{"commonName":"Dragonfly Authority CA","countryName":"CN","localityName":"Hangzhou","organizationName":"Dragonfly","stateOrProvinceName":"Hangzhou"},"enable":false,"injectHosts":true,"registryDomains":["ghcr.io","quay.io"],"restart":false}` | [Experimental] Support docker, when use docker-shim in Kubernetes, please set containerRuntime.docker.enable to true. For supporting docker, we need generate CA and update certs, then hijack registries traffic, By default, it's unnecessary to restart docker daemon when pull image from private registries, this feature is support explicit registries in containerRuntime.registry.domains, default domains is ghcr.io, quay.io, please update your registries by --set containerRuntime.registry.domains='{harbor.example.com,harbor.example.net}' --set containerRuntime.registry.injectHosts=true --set containerRuntime.docker.enable=true Caution: docker hub image is not supported without restart docker daemon. When need pull image from docker hub or any other registries not in containerRuntime.registry.domains, set containerRuntime.docker.restart=true this feature will inject proxy config into docker.service and restart docker daemon. Caution: set restart to true only when live restore is enable. Requirement: Docker Engine v1.2.0+ without Rootless. | | containerRuntime.docker.caCert | object | `{"commonName":"Dragonfly Authority CA","countryName":"CN","localityName":"Hangzhou","organizationName":"Dragonfly","stateOrProvinceName":"Hangzhou"}` | CA cert info for generating | | containerRuntime.docker.enable | bool | `false` | Enable docker support Inject ca cert into /etc/docker/certs.d/, Refer: https://docs.docker.com/engine/security/certificates/. | -| containerRuntime.docker.injectHosts | bool | `true` | Inject domains into /etc/hosts to force redirect traffic to dfdaemon. Caution: This feature need dfdaemon to implement SNI Proxy, confirm image tag is greater than or equal to v0.5.0. When use certs and inject hosts in docker, no necessary to restart docker daemon. | +| containerRuntime.docker.injectHosts | bool | `true` | Inject domains into /etc/hosts to force redirect traffic to dfdaemon. Caution: This feature need dfdaemon to implement SNI Proxy, confirm image tag is greater than or equal to v2.0.0. When use certs and inject hosts in docker, no necessary to restart docker daemon. | | containerRuntime.docker.registryDomains | list | `["ghcr.io","quay.io"]` | Registry domains By default, docker pull image via https, currently, only support default 443 port with https. | | containerRuntime.docker.restart | bool | `false` | Restart docker daemon to redirect traffic to dfdaemon When containerRuntime.docker.restart=true, containerRuntime.docker.injectHosts and containerRuntime.registry.domains is ignored. If did not want restart docker daemon, keep containerRuntime.docker.restart=false and containerRuntime.docker.injectHosts=true. | | containerRuntime.initContainerImage | string | `"dragonflyoss/openssl"` | The image name of init container, need include openssl for ca generating | @@ -204,7 +204,7 @@ helm delete dragonfly --namespace dragonfly-system | dfdaemon.priorityClassName | string | `""` | Pod priorityClassName | | dfdaemon.pullPolicy | string | `"IfNotPresent"` | Image pull policy | | dfdaemon.resources | object | `{"limits":{"cpu":"2","memory":"2Gi"},"requests":{"cpu":"0","memory":"0"}}` | Pod resource requests and limits | -| dfdaemon.tag | string | `"v0.5.0"` | Image tag | +| dfdaemon.tag | string | `"v2.0.0"` | Image tag | | dfdaemon.terminationGracePeriodSeconds | string | `nil` | Pod terminationGracePeriodSeconds | | dfdaemon.tolerations | list | `[]` | List of node taints to tolerate | | externalManager.grpcPort | int | `65003` | External GRPC service port | @@ -242,7 +242,7 @@ helm delete dragonfly --namespace dragonfly-system | manager.resources | object | `{"limits":{"cpu":"2","memory":"4Gi"},"requests":{"cpu":"0","memory":"0"}}` | Pod resource requests and limits | | manager.restPort | int | `8080` | REST service port | | manager.serviceAnnotations | object | `{}` | Service annotations | -| manager.tag | string | `"v0.5.0"` | Image tag | +| manager.tag | string | `"v2.0.0"` | Image tag | | manager.terminationGracePeriodSeconds | string | `nil` | Pod terminationGracePeriodSeconds | | manager.tolerations | list | `[]` | List of node taints to tolerate | | mysql.auth.database | string | `"manager"` | Mysql database name | @@ -282,7 +282,7 @@ helm delete dragonfly --namespace dragonfly-system | scheduler.service | object | `{"port":8002,"targetPort":8002,"type":"ClusterIP"}` | Service configuration | | scheduler.serviceAnnotations | object | `{}` | Service annotations | | scheduler.statefulsetAnnotations | object | `{}` | Statefulset annotations | -| scheduler.tag | string | `"v0.5.0"` | Image tag | +| scheduler.tag | string | `"v2.0.0"` | Image tag | | scheduler.terminationGracePeriodSeconds | string | `nil` | Pod terminationGracePeriodSeconds | | scheduler.tolerations | list | `[]` | List of node taints to tolerate | diff --git a/charts/dragonfly/values.yaml b/charts/dragonfly/values.yaml index 7f7c0c62..3357c52f 100644 --- a/charts/dragonfly/values.yaml +++ b/charts/dragonfly/values.yaml @@ -35,7 +35,7 @@ containerRuntime: # If did not want restart docker daemon, keep containerRuntime.docker.restart=false and containerRuntime.docker.injectHosts=true. restart: false # -- Inject domains into /etc/hosts to force redirect traffic to dfdaemon. - # Caution: This feature need dfdaemon to implement SNI Proxy, confirm image tag is greater than or equal to v0.5.0. + # Caution: This feature need dfdaemon to implement SNI Proxy, confirm image tag is greater than or equal to v2.0.0. # When use certs and inject hosts in docker, no necessary to restart docker daemon. injectHosts: true # -- Registry domains @@ -100,7 +100,7 @@ scheduler: # -- Image repository image: dragonflyoss/scheduler # -- Image tag - tag: v0.5.0 + tag: v2.0.0 # -- Image pull policy pullPolicy: IfNotPresent # -- Pod resource requests and limits @@ -167,7 +167,7 @@ cdn: # -- Image repository image: dragonflyoss/cdn # -- Image tag - tag: v0.5.0 + tag: v2.0.0 # -- Image pull policy pullPolicy: IfNotPresent # -- Pod resource requests and limits @@ -283,7 +283,7 @@ dfdaemon: # -- Image repository image: dragonflyoss/dfdaemon # -- Image tag - tag: v0.5.0 + tag: v2.0.0 # -- Image pull policy pullPolicy: IfNotPresent # -- Pod resource requests and limits @@ -427,7 +427,7 @@ manager: # -- Image repository image: dragonflyoss/manager # -- Image tag - tag: v0.5.0 + tag: v2.0.0 # -- Image pull policy pullPolicy: IfNotPresent # -- Pod resource requests and limits