podman-desktop/extensions
Charlie Drage 6bc6b983db
chore: kind extension - use configuration name when deploying ingress (#11722)
* chore: kind extension - use configuration name when deploying ingress

### What does this PR do?

When providing a configuration file and deploying an ingress, we should
be using the name from the configuration file regardless of other
options added above.

### Screenshot / video of UI

<!-- If this PR is changing UI, please include
screenshots or screencasts showing the difference -->

### What issues does this PR fix or reference?

<!-- Include any related issues from Podman Desktop
repository (or from another issue tracker). -->

Closes https://github.com/podman-desktop/podman-desktop/issues/11469

### How to test this PR?

<!-- Please explain steps to verify the functionality,
do not forget to provide unit/component tests -->

- [X] Tests are covering the bug fix or the new feature

1. Deploy with yaml:

```
kind: Cluster
apiVersion: kind.x-k8s.io/v1alpha4
name: app-1-cluster
```

2. See that your contour ingress is added to `kind-app-1-cluster`. You
   can check by doing `kubectl get pods -A` and see that contour has
   been deployed.

Signed-off-by: Charlie Drage <charlie@charliedrage.com>

* chore: update based on reviews

Signed-off-by: Charlie Drage <charlie@charliedrage.com>

* chore: add missing vi.mocked

Signed-off-by: Charlie Drage <charlie@charliedrage.com>

---------

Signed-off-by: Charlie Drage <charlie@charliedrage.com>
2025-03-19 14:50:39 +00:00
..
compose chore(deps-dev): bump the vitest group with 3 updates 2025-03-18 07:19:21 +01:00
docker chore(deps-dev): bump the vitest group with 3 updates 2025-03-18 07:19:21 +01:00
kind chore: kind extension - use configuration name when deploying ingress (#11722) 2025-03-19 14:50:39 +00:00
kube-context chore(deps-dev): bump the vitest group with 3 updates 2025-03-18 07:19:21 +01:00
kubectl-cli chore(deps-dev): bump the vitest group with 3 updates 2025-03-18 07:19:21 +01:00
lima chore(deps-dev): bump the vitest group with 3 updates 2025-03-18 07:19:21 +01:00
podman/packages refactor(podman): extract VirtualMachinePlatformCheck class from podman-install.ts (#11743) 2025-03-19 11:31:18 +01:00
registries chore(deps-dev): bump the vitest group with 3 updates 2025-03-18 07:19:21 +01:00
extensions.spec.ts fix: rename kubectl extension (#5255) 2023-12-14 09:36:45 +01:00
vitest.config.js fix: rename kubectl extension (#5255) 2023-12-14 09:36:45 +01:00