Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v0.1.13-dev
v0.1.14
4 changes: 2 additions & 2 deletions charts/control-plane-operator/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ apiVersion: v2
name: control-plane-operator
description: A Helm chart for the Cloud Orchestration Control Plane Operator
type: application
version: v0.1.13
appVersion: v0.1.13
version: v0.1.14
appVersion: v0.1.14
home: https://github.com/openmcp-project/control-plane-operator
sources:
- https://github.com/openmcp-project/control-plane-operator
2 changes: 1 addition & 1 deletion charts/control-plane-operator/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ image:
repository: ghcr.io/openmcp-project/images/control-plane-operator
pullPolicy: IfNotPresent
# Overrides the image tag whose default is the chart appVersion.
tag: v0.1.13
tag: v0.1.14

imagePullSecrets: []
nameOverride: ""
Expand Down
5 changes: 5 additions & 0 deletions pkg/utils/errors.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,11 @@ func IsCRDNotFound(err error) bool {
return true
}

// check if err tree contains a "NoResourceMatchError" error.
if errors.Is(err, &meta.NoResourceMatchError{}) {
return true
}

// check if err tree contains a "ErrResourceDiscoveryFailed" error.
var rdfErr *apiutil.ErrResourceDiscoveryFailed
if !errors.As(err, &rdfErr) {
Expand Down
5 changes: 5 additions & 0 deletions pkg/utils/errors_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,11 @@ func TestIsCRDNotFound(t *testing.T) {
err: &meta.NoKindMatchError{},
want: true,
},
{
name: "no resource match error",
err: &meta.NoResourceMatchError{},
want: true,
},
{
name: "resource discovery failed error",
err: &apiutil.ErrResourceDiscoveryFailed{},
Expand Down