mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-02 08:17:26 +00:00
Fix Rendering SLS 'base:nginx' failed if 'cloud' is not defined in minion grains
This commit is contained in:
parent
fff6cebb5f
commit
36ef786228
@ -28,7 +28,7 @@ nginx:
|
||||
- group: root
|
||||
- mode: 644
|
||||
|
||||
{% if grains.cloud in ['gce'] %}
|
||||
{% if grains.cloud is defined and grains.cloud in ['gce'] %}
|
||||
/etc/kubernetes/manifests/nginx.json:
|
||||
file:
|
||||
- managed
|
||||
|
Loading…
Reference in New Issue
Block a user