Skip to content

Commit 56f9bfb

Browse files
committed
fix: common.sh not exists
1 parent b12c6fd commit 56f9bfb

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

addons/clickhouse/scripts/post-for-rebuild.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
#!/bin/bash
2-
source /scripts/common.sh
32

43
component_name=${instanceName%-*}
54
instance_fqdn=${instanceName}.${component_name}-headless

addons/clickhouse/scripts/post-for-scale-out-shard.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
#!/bin/bash
2-
source /scripts/common.sh
32

43
declare -a new_shard_pod_fqdns=()
54
declare -a old_shard_available_pod_fqdns=()

addons/clickhouse/templates/opsdefinition.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ spec:
4949
- bash
5050
- -c
5151
- |
52+
{{- .Files.Get "scripts/common.sh" | nindent 18 }}
5253
{{- .Files.Get "scripts/post-for-rebuild.sh" | nindent 18 }}
5354
---
5455
apiVersion: operations.kubeblocks.io/v1alpha1
@@ -97,4 +98,5 @@ spec:
9798
- bash
9899
- -c
99100
- |
100-
{{- .Files.Get "scripts/post-for-scale-out-shard.sh" | nindent 18 }}
101+
{{- .Files.Get "scripts/common.sh" | nindent 18 }}
102+
{{- .Files.Get "scripts/post-for-scale-out-shard.sh" | nindent 18 }}

0 commit comments

Comments
 (0)