fix(): explicit object identifier
All checks were successful
Gitea Docker Build Demo / Test (push) Successful in 1m4s
Gitea Docker Build Demo / Build_Image (push) Successful in 1m23s

This commit is contained in:
2025-10-07 08:59:30 +02:00
parent 85a62d24f4
commit 6083039648
2 changed files with 8 additions and 2 deletions

View File

@@ -40,7 +40,7 @@ jobs:
with: with:
context: . context: .
file: ./Dockerfile file: ./Dockerfile
push: false push: true
tags: | tags: |
lerentis/canada-kaktus:${{ github.sha }} lerentis/canada-kaktus:${{ github.sha }}
# - name: Sign the published Docker image # - name: Sign the published Docker image

View File

@@ -61,7 +61,13 @@ func RecreateIPPoolCrd(cfg *Config, name string, ips []string) error {
decode := scheme.Codecs.UniversalDeserializer().Decode decode := scheme.Codecs.UniversalDeserializer().Decode
obj, _, err := decode([]byte(body), nil, nil) versionKind := schema.GroupVersionKind{
Group: "cilium.io",
Version: "v2alpha1",
Kind: "CiliumLoadBalancerIPPool",
}
obj, _, err := decode([]byte(body), &versionKind, nil)
if err != nil { if err != nil {
return fmt.Errorf("could not deserialize CRD: %v", err.Error()) return fmt.Errorf("could not deserialize CRD: %v", err.Error())
} }