Skip to content

Commit

Permalink
Add networkIsolation, try to_json
Browse files Browse the repository at this point in the history
  • Loading branch information
robertvolkmann committed Mar 20, 2024
1 parent de8efba commit 5520c78
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,7 @@ spec:
{{ id }}:
firewallTypes: {{ partition_config.get('default-machine-types', {}).get('firewall', []) | to_json }}
{% if 'network-isolation' in partition_config %}
networkIsolation: |
{{ partition_config.get('network-isolation') | to_yaml | indent(width=14, first=false) }}
networkIsolation: {{ partition_config.get('network-isolation') | to_json }}
{% endif %}
{% endfor %}
kubernetes: {{ gardener_cloud_profile_kubernetes | to_json }}
Expand Down

0 comments on commit 5520c78

Please sign in to comment.