Skip to content

Commit

Permalink
Merge pull request #37 from ByConity/use_image_tag
Browse files Browse the repository at this point in the history
use_image_tag
  • Loading branch information
zhouwenyu392 authored Dec 14, 2023
2 parents 8be1566 + eb50691 commit 261049a
Show file tree
Hide file tree
Showing 11 changed files with 41 additions and 18 deletions.
9 changes: 9 additions & 0 deletions chart/byconity/Chart.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
dependencies:
- name: hdfs
repository: ""
version: 1.0.0
- name: fdb-operator
repository: ""
version: 0.2.0
digest: sha256:bc5340d31aade1a2c5d5aae362e90c217e011f56fa952fb95300b3b5a681f202
generated: "2023-09-20T17:30:02.964424+08:00"
2 changes: 2 additions & 0 deletions chart/byconity/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,7 @@ appVersion: "1.16.0"
dependencies:
- name: hdfs
condition: hdfs.enabled
version: 1.0.0
- name: fdb-operator
condition: fdb-operator.enabled
version: 0.2.0
4 changes: 2 additions & 2 deletions chart/byconity/templates/daemonmanager.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ spec:
spec:
containers:
- name: byconity-daemon-manager
image: {{ coalesce .image $.Values.byconity.image }}
imagePullPolicy: {{ $.Values.byconity.imagePullPolicy }}
image: {{ $.Values.image.repository }}:{{ $.Values.image.tag }}
imagePullPolicy: {{ $.Values.image.imagePullPolicy }}
env:
{{- toYaml $.Values.byconity.commonEnvs | nindent 12 }}
- name: BYCONITY_ROLE
Expand Down
4 changes: 2 additions & 2 deletions chart/byconity/templates/resourcemanager.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ spec:
spec:
containers:
- name: byconity-resource-manager
image: {{ coalesce .image $.Values.byconity.image }}
imagePullPolicy: {{ $.Values.byconity.imagePullPolicy }}
image: {{ $.Values.image.repository }}:{{ $.Values.image.tag }}
imagePullPolicy: {{ $.Values.image.imagePullPolicy }}
env:
{{- toYaml $.Values.byconity.commonEnvs | nindent 12 }}
- name: BYCONITY_ROLE
Expand Down
4 changes: 2 additions & 2 deletions chart/byconity/templates/server.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ spec:
spec:
containers:
- name: byconity-server
image: {{ coalesce .image $.Values.byconity.image }}
imagePullPolicy: {{ $.Values.byconity.imagePullPolicy }}
image: {{ $.Values.image.repository }}:{{ $.Values.image.tag }}
imagePullPolicy: {{ $.Values.image.imagePullPolicy }}
env:
{{- toYaml $.Values.byconity.commonEnvs | nindent 12 }}
- name: BYCONITY_ROLE
Expand Down
4 changes: 2 additions & 2 deletions chart/byconity/templates/tso.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ spec:
spec:
containers:
- name: byconity-tso
image: {{ coalesce .image $.Values.byconity.image }}
imagePullPolicy: {{ $.Values.byconity.imagePullPolicy }}
image: {{ $.Values.image.repository }}:{{ $.Values.image.tag }}
imagePullPolicy: {{ $.Values.image.imagePullPolicy }}
env:
{{- toYaml $.Values.byconity.commonEnvs | nindent 12 }}
- name: BYCONITY_ROLE
Expand Down
4 changes: 2 additions & 2 deletions chart/byconity/templates/vw.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ spec:
spec:
containers:
- name: byconity-worker
image: {{ coalesce .image $.Values.byconity.image }}
imagePullPolicy: {{ $.Values.byconity.imagePullPolicy }}
image: {{ $.Values.image.repository }}:{{ $.Values.image.tag }}
imagePullPolicy: {{ $.Values.image.imagePullPolicy }}
env:
{{- toYaml $.Values.byconity.commonEnvs | nindent 12 }}
- name: BYCONITY_ROLE
Expand Down
7 changes: 5 additions & 2 deletions chart/byconity/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,12 @@
nameOverride: ""
fullnameOverride: ""

byconity:
image: byconity/byconity:stable
image:
repository: byconity/byconity
tag: stable
imagePullPolicy: IfNotPresent

byconity:
hdfs_address: hdfs://byconity-hdfs-namenodes:8020 #default hdfs
# if “hdfs_ha_nameservice” is configured, the “hdfs_address” configuration will be ineffective
# hdfs_ha_nameservice: hdfs_service # after configuring “namespace”, you need to configure the address of the namespace in “hdfs3Config”
Expand Down
7 changes: 5 additions & 2 deletions examples/k8s/value_HA_example.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,12 @@
nameOverride: ""
fullnameOverride: ""

byconity:
image: byconity/byconity:stable
image:
repository: byconity/byconity
tag: stable
imagePullPolicy: IfNotPresent

byconity:
hdfs_address: hdfs://byconity-hdfs-namenodes:8020 # can using your own hdfs
# if “hdfs_ha_nameservice” is configured, the “hdfs_address” configuration will be ineffective
# hdfs_ha_nameservice: hdfs_service # after configuring “namespace”, you need to configure the address of the namespace in “hdfs3Config”
Expand Down
7 changes: 5 additions & 2 deletions examples/k8s/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,12 @@
nameOverride: ""
fullnameOverride: ""

byconity:
image: byconity/byconity:stable
image:
repository: byconity/byconity
tag: stable
imagePullPolicy: IfNotPresent

byconity:
hdfs_address: hdfs://byconity-hdfs-namenodes:8020 # can using your own hdfs
# if “hdfs_ha_nameservice” is configured, the “hdfs_address” configuration will be ineffective
# hdfs_ha_nameservice: hdfs_service # after configuring “namespace”, you need to configure the address of the namespace in “hdfs3Config”
Expand Down
7 changes: 5 additions & 2 deletions examples/k8s/values_use_existing_fdb.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,12 @@
nameOverride: ""
fullnameOverride: ""

byconity:
image: byconity/byconity:stable
image:
repository: byconity/byconity
tag: stable
imagePullPolicy: IfNotPresent

byconity:
hdfs_address: hdfs://byconity-hdfs-namenodes:8020 # can using your own hdfs
# if “hdfs_ha_nameservice” is configured, the “hdfs_address” configuration will be ineffective
# hdfs_ha_nameservice: hdfs_service # after configuring “namespace”, you need to configure the address of the namespace in “hdfs3Config”
Expand Down

0 comments on commit 261049a

Please sign in to comment.