Extend the correct master-env.
Showing
1 changed file
with
3 additions
and
3 deletions
... | @@ -172,7 +172,7 @@ services: | ... | @@ -172,7 +172,7 @@ services: |
172 | "--cluster-init", | 172 | "--cluster-init", |
173 | ] | 173 | ] |
174 | environment: | 174 | environment: |
175 | <<: *_x-k3s-agent-env | 175 | <<: *_x-k3s-master-env |
176 | K3S_NODE_NAME: master-1 | 176 | K3S_NODE_NAME: master-1 |
177 | 177 | ||
178 | k3s-master-2: | 178 | k3s-master-2: |
... | @@ -185,7 +185,7 @@ services: | ... | @@ -185,7 +185,7 @@ services: |
185 | "--server=http://k3s-master-1:6443", | 185 | "--server=http://k3s-master-1:6443", |
186 | ] | 186 | ] |
187 | environment: | 187 | environment: |
188 | <<: *_x-k3s-agent-env | 188 | <<: *_x-k3s-master-env |
189 | K3S_NODE_NAME: master-2 | 189 | K3S_NODE_NAME: master-2 |
190 | 190 | ||
191 | k3s-master-3: | 191 | k3s-master-3: |
... | @@ -198,7 +198,7 @@ services: | ... | @@ -198,7 +198,7 @@ services: |
198 | "--server=http://k3s-master-1:6443", | 198 | "--server=http://k3s-master-1:6443", |
199 | ] | 199 | ] |
200 | environment: | 200 | environment: |
201 | <<: *_x-k3s-agent-env | 201 | <<: *_x-k3s-master-env |
202 | K3S_NODE_NAME: master-3 | 202 | K3S_NODE_NAME: master-3 |
203 | 203 | ||
204 | k3s-coredns-1: | 204 | k3s-coredns-1: | ... | ... |
-
Please register or sign in to post a comment