Skip to content

Commit

Permalink
feat: update image version (#8)
Browse files Browse the repository at this point in the history
Signed-off-by: Gaius <[email protected]>
  • Loading branch information
gaius-qi authored Sep 9, 2021
1 parent 37e7ebf commit 5ea8bb5
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 21 deletions.
17 changes: 7 additions & 10 deletions charts/dragonfly/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -18,24 +18,21 @@ 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
- name: Source
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
Expand Down
12 changes: 6 additions & 6 deletions charts/dragonfly/README.md
Original file line number Diff line number Diff line change
@@ -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.

Expand Down Expand Up @@ -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 |
Expand All @@ -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 |
Expand Down Expand Up @@ -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 |
Expand Down Expand Up @@ -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 |
Expand Down Expand Up @@ -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 |

Expand Down
10 changes: 5 additions & 5 deletions charts/dragonfly/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 5ea8bb5

Please sign in to comment.