Skip to content

Commit

Permalink
Merge pull request #275 from yanyhui/master
Browse files Browse the repository at this point in the history
solve the problem #274
  • Loading branch information
rambohe-ch authored Apr 22, 2021
2 parents 6aef72b + 6dffd3d commit b03a05d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion config/setup/yurt-tunnel-agent.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ spec:
spec:
nodeSelector:
beta.kubernetes.io/os: linux
openyurt.io/edge-enable-reverseTunnel-client: "true"
openyurt.io/is-edge-worker: "true"
containers:
- command:
- yurt-tunnel-agent
Expand Down
3 changes: 2 additions & 1 deletion config/yaml-template/yurt-tunnel-agent.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,13 @@ spec:
spec:
nodeSelector:
beta.kubernetes.io/os: linux
__label_prefix__/edge-enable-reverseTunnel-client: "true"
__label_prefix__/is-edge-worker: "true"
containers:
- command:
- __project_prefix__-tunnel-agent
args:
- --node-name=$(NODE_NAME)
- --node-ip=$(POD_IP)
- --v=2
image: __repo__/__project_prefix__-tunnel-agent:__tag__
imagePullPolicy: IfNotPresent
Expand Down

0 comments on commit b03a05d

Please sign in to comment.