Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
疯人忠
Cvat
提交
6f6db4d5
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,发现更多精彩内容 >>
未验证
提交
6f6db4d5
编写于
12月 01, 2022
作者:
A
Andrey Zhavoronkov
提交者:
GitHub
12月 01, 2022
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Helm: fix secrets for non-default release name (#5403)
上级
0943de9d
变更
10
隐藏空白更改
内联
并排
Showing
10 changed file
with
31 addition
and
30 deletion
+31
-30
.github/workflows/helm.yml
.github/workflows/helm.yml
+1
-1
CHANGELOG.md
CHANGELOG.md
+1
-0
helm-chart/templates/cvat-postgres-secret.yml
helm-chart/templates/cvat-postgres-secret.yml
+1
-1
helm-chart/templates/cvat-server-secret.yml
helm-chart/templates/cvat-server-secret.yml
+1
-1
helm-chart/templates/cvat_backend/cvat_worker_webhooks/deployment.yml
...emplates/cvat_backend/cvat_worker_webhooks/deployment.yml
+4
-4
helm-chart/templates/cvat_backend/server/deployment.yml
helm-chart/templates/cvat_backend/server/deployment.yml
+8
-8
helm-chart/templates/cvat_backend/utils/deployment.yml
helm-chart/templates/cvat_backend/utils/deployment.yml
+4
-4
helm-chart/templates/cvat_backend/worker_default/deployment.yml
...hart/templates/cvat_backend/worker_default/deployment.yml
+4
-4
helm-chart/templates/cvat_backend/worker_low/deployment.yml
helm-chart/templates/cvat_backend/worker_low/deployment.yml
+4
-4
helm-chart/values.yaml
helm-chart/values.yaml
+3
-3
未找到文件。
.github/workflows/helm.yml
浏览文件 @
6f6db4d5
...
...
@@ -63,7 +63,7 @@ jobs:
cd helm-chart
helm dependency update
cd ..
helm upgrade -n default
cvat
-i --create-namespace helm-chart -f helm-chart/values.yaml -f tests/values.test.yaml
helm upgrade -n default
release-${{ github.run_id }}-${{ github.run_attempt }}
-i --create-namespace helm-chart -f helm-chart/values.yaml -f tests/values.test.yaml
-
name
:
Update test config
run
:
|
...
...
CHANGELOG.md
浏览文件 @
6f6db4d5
...
...
@@ -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>
)
-
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>
)
### Security
...
...
helm-chart/templates/cvat-postgres-secret.yml
浏览文件 @
6f6db4d5
...
...
@@ -2,7 +2,7 @@
apiVersion
:
v1
kind
:
Secret
metadata
:
name
:
"
{{
.Release.Name
}}-{{
.Values.postgresql.secret.name
}}"
name
:
"
{{
tpl
(.Values.postgresql.secret.name)
.
}}"
namespace
:
{{
.Release.Namespace
}}
labels
:
{{
- include "cvat.labels" . | nindent 4
}}
...
...
helm-chart/templates/cvat-server-secret.yml
浏览文件 @
6f6db4d5
...
...
@@ -2,7 +2,7 @@
apiVersion
:
v1
kind
:
Secret
metadata
:
name
:
"
{{
.Release.Name
}}-{{
.Values.cvat.backend.server.secret.name
}}"
name
:
"
{{
tpl
(
.Values.cvat.backend.server.secret.name)
.
}}"
namespace
:
{{
.Release.Namespace
}}
type
:
generic
stringData
:
...
...
helm-chart/templates/cvat_backend/cvat_worker_webhooks/deployment.yml
浏览文件 @
6f6db4d5
...
...
@@ -63,22 +63,22 @@ spec:
-
name
:
CVAT_POSTGRES_HOST
valueFrom
:
secretKeyRef
:
name
:
"
{{
.Release.Name
}}-{{
.Values.postgresql.secret.name
}}"
name
:
"
{{
tpl
(.Values.postgresql.secret.name)
.
}}"
key
:
postgresql-hostname
-
name
:
CVAT_POSTGRES_USER
valueFrom
:
secretKeyRef
:
name
:
"
{{
.Release.Name
}}-{{
.Values.postgresql.secret.name
}}"
name
:
"
{{
tpl
(.Values.postgresql.secret.name)
.
}}"
key
:
postgresql-username
-
name
:
CVAT_POSTGRES_DBNAME
valueFrom
:
secretKeyRef
:
name
:
"
{{
.Release.Name
}}-{{
.Values.postgresql.secret.name
}}"
name
:
"
{{
tpl
(.Values.postgresql.secret.name)
.
}}"
key
:
postgresql-database
-
name
:
CVAT_POSTGRES_PASSWORD
valueFrom
:
secretKeyRef
:
name
:
"
{{
.Release.Name
}}-{{
.Values.postgresql.secret.name
}}"
name
:
"
{{
tpl
(.Values.postgresql.secret.name)
.
}}"
key
:
postgresql-password
{{
- else
}}
-
name
:
CVAT_POSTGRES_HOST
...
...
helm-chart/templates/cvat_backend/server/deployment.yml
浏览文件 @
6f6db4d5
...
...
@@ -62,22 +62,22 @@ spec:
-
name
:
SOCIAL_AUTH_GOOGLE_CLIENT_ID
valueFrom
:
secretKeyRef
:
name
:
"
{{
.Release.Name
}}-{{
.Values.cvat.backend.server.secret.name
}}"
name
:
"
{{
tpl
(.Values.cvat.backend.server.secret.name)
.
}}"
key
:
googleClientId
-
name
:
SOCIAL_AUTH_GOOGLE_CLIENT_SECRET
valueFrom
:
secretKeyRef
:
name
:
"
{{
.Release.Name
}}-{{
.Values.cvat.backend.server.secret.name
}}"
name
:
"
{{
tpl
(.Values.cvat.backend.server.secret.name)
.
}}"
key
:
googleClientSecret
-
name
:
SOCIAL_AUTH_GITHUB_CLIENT_ID
valueFrom
:
secretKeyRef
:
name
:
"
{{
.Release.Name
}}-{{
.Values.cvat.backend.server.secret.name
}}"
name
:
"
{{
tpl
(.Values.cvat.backend.server.secret.name)
.
}}"
key
:
githubClientId
-
name
:
SOCIAL_AUTH_GITHUB_CLIENT_SECRET
valueFrom
:
secretKeyRef
:
name
:
"
{{
.Release.Name
}}-{{
.Values.cvat.backend.server.secret.name
}}"
name
:
"
{{
tpl
(.Values.cvat.backend.server.secret.name)
.
}}"
key
:
googleClientSecret
{{
- end
}}
-
name
:
IAM_OPA_BUNDLE
...
...
@@ -93,22 +93,22 @@ spec:
-
name
:
CVAT_POSTGRES_HOST
valueFrom
:
secretKeyRef
:
name
:
"
{{
.Release.Name
}}-{{
.Values.postgresql.secret.name
}}"
name
:
"
{{
tpl
(.Values.postgresql.secret.name)
.
}}"
key
:
postgresql-hostname
-
name
:
CVAT_POSTGRES_USER
valueFrom
:
secretKeyRef
:
name
:
"
{{
.Release.Name
}}-{{
.Values.postgresql.secret.name
}}"
name
:
"
{{
tpl
(.Values.postgresql.secret.name)
.
}}"
key
:
postgresql-username
-
name
:
CVAT_POSTGRES_DBNAME
valueFrom
:
secretKeyRef
:
name
:
"
{{
.Release.Name
}}-{{
.Values.postgresql.secret.name
}}"
name
:
"
{{
tpl
(.Values.postgresql.secret.name)
.
}}"
key
:
postgresql-database
-
name
:
CVAT_POSTGRES_PASSWORD
valueFrom
:
secretKeyRef
:
name
:
"
{{
.Release.Name
}}-{{
.Values.postgresql.secret.name
}}"
name
:
"
{{
tpl
(.Values.postgresql.secret.name)
.
}}"
key
:
postgresql-password
{{
- else
}}
-
name
:
CVAT_POSTGRES_HOST
...
...
helm-chart/templates/cvat_backend/utils/deployment.yml
浏览文件 @
6f6db4d5
...
...
@@ -64,22 +64,22 @@ spec:
-
name
:
CVAT_POSTGRES_HOST
valueFrom
:
secretKeyRef
:
name
:
"
{{
.Release.Name
}}-{{
.Values.postgresql.secret.name
}}"
name
:
"
{{
tpl
(.Values.postgresql.secret.name)
.
}}"
key
:
postgresql-hostname
-
name
:
CVAT_POSTGRES_USER
valueFrom
:
secretKeyRef
:
name
:
"
{{
.Release.Name
}}-{{
.Values.postgresql.secret.name
}}"
name
:
"
{{
tpl
(.Values.postgresql.secret.name)
.
}}"
key
:
postgresql-username
-
name
:
CVAT_POSTGRES_DBNAME
valueFrom
:
secretKeyRef
:
name
:
"
{{
.Release.Name
}}-{{
.Values.postgresql.secret.name
}}"
name
:
"
{{
tpl
(.Values.postgresql.secret.name)
.
}}"
key
:
postgresql-database
-
name
:
CVAT_POSTGRES_PASSWORD
valueFrom
:
secretKeyRef
:
name
:
"
{{
.Release.Name
}}-{{
.Values.postgresql.secret.name
}}"
name
:
"
{{
tpl
(.Values.postgresql.secret.name)
.
}}"
key
:
postgresql-password
{{
- else
}}
-
name
:
CVAT_POSTGRES_HOST
...
...
helm-chart/templates/cvat_backend/worker_default/deployment.yml
浏览文件 @
6f6db4d5
...
...
@@ -63,22 +63,22 @@ spec:
-
name
:
CVAT_POSTGRES_HOST
valueFrom
:
secretKeyRef
:
name
:
"
{{
.Release.Name
}}-{{
.Values.postgresql.secret.name
}}"
name
:
"
{{
tpl
(.Values.postgresql.secret.name)
.
}}"
key
:
postgresql-hostname
-
name
:
CVAT_POSTGRES_USER
valueFrom
:
secretKeyRef
:
name
:
"
{{
.Release.Name
}}-{{
.Values.postgresql.secret.name
}}"
name
:
"
{{
tpl
(.Values.postgresql.secret.name)
.
}}"
key
:
postgresql-username
-
name
:
CVAT_POSTGRES_DBNAME
valueFrom
:
secretKeyRef
:
name
:
"
{{
.Release.Name
}}-{{
.Values.postgresql.secret.name
}}"
name
:
"
{{
tpl
(.Values.postgresql.secret.name)
.
}}"
key
:
postgresql-database
-
name
:
CVAT_POSTGRES_PASSWORD
valueFrom
:
secretKeyRef
:
name
:
"
{{
.Release.Name
}}-{{
.Values.postgresql.secret.name
}}"
name
:
"
{{
tpl
(.Values.postgresql.secret.name)
.
}}"
key
:
postgresql-password
{{
- else
}}
-
name
:
CVAT_POSTGRES_HOST
...
...
helm-chart/templates/cvat_backend/worker_low/deployment.yml
浏览文件 @
6f6db4d5
...
...
@@ -63,22 +63,22 @@ spec:
-
name
:
CVAT_POSTGRES_HOST
valueFrom
:
secretKeyRef
:
name
:
"
{{
.Release.Name
}}-{{
.Values.postgresql.secret.name
}}"
name
:
"
{{
tpl
(.Values.postgresql.secret.name)
.
}}"
key
:
postgresql-hostname
-
name
:
CVAT_POSTGRES_USER
valueFrom
:
secretKeyRef
:
name
:
"
{{
.Release.Name
}}-{{
.Values.postgresql.secret.name
}}"
name
:
"
{{
tpl
(.Values.postgresql.secret.name)
.
}}"
key
:
postgresql-username
-
name
:
CVAT_POSTGRES_DBNAME
valueFrom
:
secretKeyRef
:
name
:
"
{{
.Release.Name
}}-{{
.Values.postgresql.secret.name
}}"
name
:
"
{{
tpl
(.Values.postgresql.secret.name)
.
}}"
key
:
postgresql-database
-
name
:
CVAT_POSTGRES_PASSWORD
valueFrom
:
secretKeyRef
:
name
:
"
{{
.Release.Name
}}-{{
.Values.postgresql.secret.name
}}"
name
:
"
{{
tpl
(.Values.postgresql.secret.name)
.
}}"
key
:
postgresql-password
{{
- else
}}
-
name
:
CVAT_POSTGRES_HOST
...
...
helm-chart/values.yaml
浏览文件 @
6f6db4d5
...
...
@@ -22,7 +22,7 @@ cvat:
USE_ALLAUTH_SOCIAL_ACCOUNTS
:
false
secret
:
create
:
true
name
:
cvat-server-secret
name
:
"
{{
.Release.Name
}}-cvat-server-secret"
socialAccountAuthentication
:
googleClientId
:
"
"
googleClientSecret
:
"
"
...
...
@@ -191,10 +191,10 @@ postgresql:
# If not external following config will be applied by default
global
:
postgresql
:
existingSecret
:
cvat-postgres-secret
existingSecret
:
"
{{
.Release.Name
}}-postgres-secret"
secret
:
create
:
true
name
:
postgres-secret
name
:
"
{{
.Release.Name
}}-postgres-secret"
password
:
cvat_postgresql
postgres_password
:
cvat_postgresql_postgres
replication_password
:
cvat_postgresql_replica
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录