Skip to content

Commit

Permalink
fix: orc addon missing COMPONENT_NAME var (#1347)
Browse files Browse the repository at this point in the history
(cherry picked from commit b50e3f0)
  • Loading branch information
lancelot1989 authored and shanshanying committed Dec 20, 2024
1 parent 6ee3d05 commit f74b322
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions addons/orchestrator/templates/cmpd-raft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@ spec:
writable: false
votable: true
vars:
- name: COMPONENT_NAME
valueFrom:
componentVarRef:
optional: false
componentName: Required
- name: CLUSTER_NAME
valueFrom:
clusterVarRef:
Expand Down
5 changes: 5 additions & 0 deletions addons/orchestrator/templates/cmpd-shareend.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,11 @@ spec:
- serviceKind: mysql
serviceVersion: "^*"
vars:
- name: COMPONENT_NAME
valueFrom:
componentVarRef:
optional: false
componentName: Required
- name: CLUSTER_NAME
valueFrom:
clusterVarRef:
Expand Down

0 comments on commit f74b322

Please sign in to comment.