func/pkg/k8s
Matej Vašek 9c0c216193
Optimise func-utils image (#2686)
* Use command instad of script in some tkn tasks

The "script" requires /bin/sh present in the image.

Signed-off-by: Matej Vašek <mvasek@redhat.com>

* Add s2i-generate command to func-util image

The command encompasses some logic previously implemented as shell
script defined in tekton task. This allows us to remove sh/shell from
the func-util image.

Signed-off-by: Matej Vašek <mvasek@redhat.com>

* Make func-util image "FROM scratch"

Signed-off-by: Matej Vašek <mvasek@redhat.com>

* Change func-utils image tag latest->v2

Since there are backward incompatible changes we must not change how
'latest' tag work (at least for some time).

For this reason we change tag to v2, so newer versions of func use that
and older use 'latest' that is compatible with them.

Signed-off-by: Matej Vašek <mvasek@redhat.com>

---------

Signed-off-by: Matej Vašek <mvasek@redhat.com>
2025-02-06 07:02:13 +00:00
..
labels chore: refactor repository layout (#1554) 2023-02-15 08:46:52 +00:00
testdata Go tar (#2672) 2025-01-28 00:45:56 +00:00
client.go Cleanup orphaned func, new image-name calculation (#1962) 2024-02-27 10:44:20 +00:00
configmaps.go chore: refactor repository layout (#1554) 2023-02-15 08:46:52 +00:00
configmaps_test.go chore: refactor repository layout (#1554) 2023-02-15 08:46:52 +00:00
dialer.go Optimise func-utils image (#2686) 2025-02-06 07:02:13 +00:00
dialer_test.go add case for DNS resolve fail (#2619) 2024-12-17 12:23:09 +00:00
dialer_unit_test.go Improve socat conn success detection (#2506) 2024-09-20 06:42:26 +00:00
logs.go chore: refactor repository layout (#1554) 2023-02-15 08:46:52 +00:00
logs_test.go Fix some linter errors in integration tests (#2608) 2024-12-04 13:36:45 +00:00
manifestival.go use Tekton Resolvers for a standard on cluster build (#1843) 2023-07-11 17:41:13 +00:00
openshift.go Cleanup orphaned func, new image-name calculation (#1962) 2024-02-27 10:44:20 +00:00
persistent_volumes.go Optimise func-utils image (#2686) 2025-02-06 07:02:13 +00:00
persistent_volumes_test.go Fix some linter errors in integration tests (#2608) 2024-12-04 13:36:45 +00:00
secrets.go feat: Pipelines as Code - initial support (pack) (#1594) 2023-03-07 15:41:20 +00:00
secrets_test.go chore: refactor repository layout (#1554) 2023-02-15 08:46:52 +00:00
security_context.go Use custom jammy paketo builder (#1911) 2023-08-10 03:25:35 +00:00
serviceaccount.go adding service account support (#1812) 2023-06-21 07:44:35 +00:00