Skip to content

Commit abb51db

Browse files
authored
Merge pull request #59 from iflytek/feat/statedriven&reconciler
fix helm issue
2 parents cbe49dc + 25a5dee commit abb51db

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

conf/base/conf.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ current-shimlet: "k8s"
4040
# shimlet 配置
4141
shimlets:
4242
k8s:
43-
config-path: "/opt/astron-xmod-shim/conf/shimlets/k8s-shimlet.yaml" # 👈 指向插件配置
43+
config-path: "/conf/k8s-shimlet.yaml" # 👈 指向插件配置
4444
docker:
4545
config-path: "./conf/docker/docker-shimlet.yaml"
4646
shimmy:

conf/shimlets/k8s-shimlet.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# K8sShimlet 专用配置
2-
kube-config: "/opt/astron-xmod-shim/conf/shimlets/kubeconfig"
2+
kube-config: "/conf/kubeconfig"
33
context: "your-cluster-context"
44
qps: 20.0
55
burst: 40

deploy/helm/astron-xmod-shim/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@ type: application
1515
# This is the chart version. This version number should be incremented each time you make changes
1616
# to the chart and its templates, including the app version.
1717
# Versions are expected to follow Semantic Versioning (https://semver.org/)
18-
version: 0.0.1
18+
version: 0.0.2

deploy/helm/astron-xmod-shim/templates/deployment.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ spec:
2323
- name: {{ .Chart.Name }}
2424
image: "{{ .Values.image.repository }}:{{ .Chart.Version }}" # Changed to use AppVersion instead of Chart.Version
2525
imagePullPolicy: {{ .Values.image.pullPolicy }}
26-
command: ["/bin/sh"] # Added command to use bash shell
27-
args: ["-c", "sleep infinity"] # Added args to keep container running
26+
command: ["./astron-xmod-shim"] # Added command to use bash shell
27+
args: ["-c", "/app/conf/conf.yaml"] # Added args to keep container running
2828
ports:
2929
- name: http
3030
containerPort: {{ .Values.service.port }}

0 commit comments

Comments
 (0)