Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
疯人忠
Cvat
提交
01fec6fb
C
Cvat
项目概览
疯人忠
/
Cvat
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
C
Cvat
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
未验证
提交
01fec6fb
编写于
12月 01, 2022
作者:
A
Andrey Zhavoronkov
提交者:
GitHub
12月 01, 2022
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Fix chart not being upgradable (#5371)
上级
6f6db4d5
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
12 addition
and
2 deletion
+12
-2
CHANGELOG.md
CHANGELOG.md
+1
-0
helm-chart/Chart.yaml
helm-chart/Chart.yaml
+1
-1
helm-chart/templates/_helpers.tpl
helm-chart/templates/_helpers.tpl
+1
-1
site/content/en/docs/administration/advanced/k8s_deployment_with_helm.md
.../docs/administration/advanced/k8s_deployment_with_helm.md
+9
-0
未找到文件。
CHANGELOG.md
浏览文件 @
01fec6fb
...
...
@@ -86,6 +86,7 @@ non-ascii paths while adding files from "Connected file share" (issue #4428)
-
Fixed FBRS serverless function runtime error on images with alpha channel (
<https://github.com/opencv/cvat/pull/5384>
)
-
Attaching manifest with custom name (
<https://github.com/opencv/cvat/pull/5377>
)
-
Uploading non-zip annotaion files (
<https://github.com/opencv/cvat/pull/5386>
)
-
Fix chart not being upgradable (
<https://github.com/opencv/cvat/pull/5371>
)
-
Broken helm chart - if using custom release name (
<https://github.com/opencv/cvat/pull/5403>
)
-
Missing source tag in project annotations (
<https://github.com/opencv/cvat/pull/5408>
)
...
...
helm-chart/Chart.yaml
浏览文件 @
01fec6fb
...
...
@@ -15,7 +15,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version
:
0.4.
4
version
:
0.4.
5
# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
...
...
helm-chart/templates/_helpers.tpl
浏览文件 @
01fec6fb
...
...
@@ -27,7 +27,7 @@ If release name contains chart name it will be used as a full name.
Create
chart
name
and
version
as
used
by
the
chart
label
.
*/
}
}
{{- define "cvat.chart" -}}
{{- printf "%s
-%s" .Chart.Name .Chart.Version
| replace "+" "_" | trunc 63 | trimSuffix "-" }}
{{- printf "%s
" .Chart.Name
| replace "+" "_" | trunc 63 | trimSuffix "-" }}
{{- end }}
{
{
/*
...
...
site/content/en/docs/administration/advanced/k8s_deployment_with_helm.md
浏览文件 @
01fec6fb
...
...
@@ -239,3 +239,12 @@ The default value `cvat.local` may be overriden with `--set ingress.hosts[0].hos
```
shell
helm upgrade -n default cvat -i --create-namespace helm-chart -f helm-chart/values.yaml -f helm-chart/values.override.yaml --set ingress.hosts[0].host=YOUR_FQDN
```
### How to fix fail of `helm upgrade` due label field is immutable reason?
If an error message like this:
```
shell
Error: UPGRADE FAILED:cannot patch "cvat-backend-server" with kind Deployment: Deployment.apps "cvat-backend-server" is invalid: spec.selector: Invalid value: v1.LabelSelector{MatchLabels:map[string]string{"app":"cvat-app", "app.kubernetes.io/instance":"cvat", "app.kubernetes.io/managed-by":"Helm", "app.kubernetes.io/name":"cvat", "app.kubernetes.io/version":"latest", "component":"server", "helm.sh/chart":"cvat", "tier":"backend"}, MatchExpressions:[]v1.LabelSelectorRequirement(nil)}: field is immutable
```
To fix that, delete CVAT Deployments before upgrading
```
shell
kubectl delete deployments --namespace=foo -l app=cvat-app
```
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录