Skip to content

servicebinding.io/v1alpha3 not supported #333

@ChunyiLyu

Description

@ChunyiLyu

servicebinding.io/v1alpha3 is not supported.

Given a servicebinding like:

apiVersion: servicebinding.io/v1alpha3
kind: ServiceBinding
metadata:
  name: multi-binding-alpha
spec:
  service:
    apiVersion: v1
    kind: Secret
    name: multi-binding-1
  workload:
    apiVersion: batch/v1
    kind: Job
    name: multi-binding
  env:
  - name: MULTI_BINDING_1
    key: number

Creation fails with error (version 0.4.0):

Warning: servicebinding.io/v1alpha3 is deprecated and will be removed in a future release, use v1beta1 instead
servicebinding.servicebinding.io/multi-binding-beta created ## unrelated; this is created using v1beta1 api
Error from server: error when creating "samples/multi-binding/service-binding.yaml": admission webhook "vservicebinding.kb.io" denied the request: no kind "ServiceBinding" is registered for version "servicebinding.io/v1alpha3" in scheme "pkg/runtime/scheme.go:100"

I was expecting the v1alpha3 to be deprecated but still supported. Maybe time to remove v1alpha3 since it's been deprecated for over a year?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions