cozystack/packages/apps/vm-instance/templates
Timofei Larkin 09e0b5f4ec
[vm] Always expose VMs with a service (#1738)
## What this PR does

When VMs are created without a public IP, no service is created for them
and they have no in-cluster DNS name. This PR fixes this and resolves
#1731.

### Release note

```release-note
[vm] Always expose VMs with at least a ClusterIP service.
```

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

* **Improvements**
* Service templates now conditionally enable external-specific
annotations and settings when external mode is enabled.
* External LoadBalancer deployments support richer port configuration
(including whole-IP fallback), while internal services retain a single
default port (65535).
* External traffic policy and node port allocation are applied only in
external mode to preserve internal behavior.

<sub>✏️ Tip: You can customize this high-level summary in your review
settings.</sub>
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2025-12-24 17:10:02 +04:00
..
_helpers.tpl [virtual-machine,vm-instance] Add nodeAffinity for Windows VMs based on scheduling config 2025-12-09 13:27:55 +01:00
dashboard-resourcemap.yaml bugfix: vm and vmi add svc to dashboard 2025-07-08 10:02:34 +03:00
secret.yaml [virtual-machine] add comment about sshKeys logic 2025-07-09 10:37:39 +02:00
service.yaml [vm] Always expose VMs with a service 2025-12-19 14:51:09 +03:00
vm-update-hook.yaml [virtual-machine] Fix vm update hook (#1376) 2025-09-01 19:46:14 +02:00
vm.yaml [virtual-machine,vm-instance] Add nodeAffinity for Windows VMs based on scheduling config 2025-12-09 13:27:55 +01:00