Skip to content

Commit cde7c41

Browse files
committed
replace helm chart to new one
1 parent 59051b1 commit cde7c41

27 files changed

+658
-549
lines changed

helm/.helmignore

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# Patterns to ignore when building packages.
2+
# This supports shell glob matching, relative path matching, and
3+
# negation (prefixed with !). Only one pattern per line.
4+
.DS_Store
5+
# Common VCS dirs
6+
.git/
7+
.gitignore
8+
.bzr/
9+
.bzrignore
10+
.hg/
11+
.hgignore
12+
.svn/
13+
# Common backup files
14+
*.swp
15+
*.bak
16+
*.tmp
17+
*.orig
18+
*~
19+
# Various IDEs
20+
.project
21+
.idea/
22+
*.tmproj
23+
.vscode/
Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,15 @@
11
apiVersion: v2
22
name: transfer
3-
description: A Helm chart for Transfer
4-
5-
# A chart can be either an 'application' or a 'library' chart.
6-
#
7-
# Application charts are a collection of templates that can be packaged into versioned archives
8-
# to be deployed.
9-
#
10-
# Library charts provide useful utilities or functions for the chart developer. They're included as
11-
# a dependency of application charts to inject those utilities and functions into the rendering
12-
# pipeline. Library charts do not define any templates and therefore cannot be deployed.
3+
description: A Helm chart for running multiple TRCLI instances in a Kubernetes cluster
134
type: application
145

156
# This is the chart version. This version number should be incremented each time you make changes
167
# to the chart and its templates, including the app version.
178
# Versions are expected to follow Semantic Versioning (https://semver.org/)
18-
version: 0.0.7
9+
version: 0.0.5
1910

2011
# This is the version number of the application being deployed. This version number should be
2112
# incremented each time you make changes to the application. Versions are not expected to
2213
# follow Semantic Versioning. They should reflect the version the application is using.
2314
# It is recommended to use it with quotes.
24-
appVersion: "v0.0.0-rc9"
15+
appVersion: "0.1.0"

helm/README.md

Lines changed: 140 additions & 194 deletions
Large diffs are not rendered by default.

helm/Secrets/clickhouse.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
apiVersion: v1
2+
kind: Secret
3+
metadata:
4+
name: transfer-clickhouse
5+
namespace: altinity-cloud-managed-clickhouse
6+
type: Opaque
7+
stringData:
8+
CH_PASSWORD: "XXX"

helm/Secrets/mongodb.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
apiVersion: v1
2+
kind: Secret
3+
metadata:
4+
name: transfer-mongodb
5+
namespace: altinity-cloud-managed-clickhouse
6+
type: Opaque
7+
stringData:
8+
mongodb_PASSWORD: "XX"
9+
mongodb_TLSFILE: |
10+
-----BEGIN CERTIFICATE-----
11+
12+
-----END CERTIFICATE-----

helm/Secrets/postgresdb.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
apiVersion: v1
2+
kind: Secret
3+
metadata:
4+
name: postgresdb-database
5+
namespace: altinity-cloud-managed-clickhouse
6+
type: Opaque
7+
stringData:
8+
postgresdb_PASSWORD: "XXX"

helm/configs/defaults.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
type_system_version: 9
2+
id: {{ .name }} # Unique ID of a transfer, used for coordinator dir name on s3 and for monitoring label
3+
transfername: {{ .name }} # Human friendly name for a transfer
4+
type: {{ default "INCREMENT_ONLY" .type }}

helm/configs/test1.yaml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
src:
2+
type: mongo
3+
params:
4+
Collections:
5+
- DatabaseName: DB
6+
CollectionName: COL
7+
dst:
8+
type: ch
9+
params:
10+
Database: db2
11+
IsUpdateable: true
12+
InsertParams:
13+
MaterializedViewsIgnoreErrors: true
14+
altnameslist:
15+
- from: COL
16+
to: collection
17+
transformation:
18+
debugmode: false
19+
transformers:
20+
- sql:
21+
query: "SELECT id, JSONExtractString(document, 'channelId') as channelId
22+
from table"
23+
data_objects:
24+
include_objects:
25+
- '"DB"."COL"'

helm/configs/test2.yaml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
src:
2+
type: mongo
3+
params:
4+
Collections:
5+
- DatabaseName: DB
6+
CollectionName: COL2
7+
dst:
8+
type: ch
9+
params:
10+
Database: db2
11+
IsUpdateable: true
12+
InsertParams:
13+
MaterializedViewsIgnoreErrors: true
14+
transformation:
15+
debugmode: false
16+
transformers:
17+
- renameTables:
18+
renameTables:
19+
- newName:
20+
name: channel
21+
nameSpace: ""
22+
originalName:
23+
name: COL2
24+
nameSpace: DB
25+
data_objects:
26+
include_objects:
27+
- DB.COL2

helm/configs/test3.yaml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
src:
2+
type: pg
3+
params:
4+
slotid: dtt9qqh008j2ega4rh90_t
5+
dst:
6+
type: ch
7+
params:
8+
database: db_ch
9+
transformation:
10+
debugmode: false
11+
transformers:
12+
- renameTables:
13+
renameTables:
14+
- newName:
15+
name: info_in_ch
16+
nameSpace: ""
17+
originalName:
18+
name: info
19+
nameSpace: db_pg
20+
transformerId: ""
21+
errorsoutput: null
22+
data_objects:
23+
include_objects:
24+
- db_pg.info
25+

0 commit comments

Comments
 (0)