-
Bug
-
Resolution: Duplicate
-
Major
-
None
-
None
-
None
-
False
-
None
-
False
-
Not Started
-
Not Started
-
Not Started
-
Not Started
-
Not Started
-
Not Started
-
-
Use of custom policy in apicast operator may lead to failure included below
{{{}}
"level": "error",
"ts": 1690959593.176282,
"msg": "Reconciler error",
"controller": "apicast",
"controllerGroup": "apps.3scale.net",
"controllerKind": "APIcast",
"aPIcast": {
"name": "gw-mganis-custom-ros5jvc",
"namespace": "redhat-rhoam-apicast"
},
"namespace": "redhat-rhoam-apicast",
"name": "gw-mganis-custom-ros5jvc",
"reconcileID": "5f55578a-1121-41aa-8cf3-833daafe3e1d",
"error": "Deployment.apps \"apicast-gw-mganis-custom-ros5jvc\" is invalid: spec.template.annotations: Invalid value: \"apicast.apps.3scale.net/custompolicy-secret-resource-version-secret-mganis-custom-isepwkm\": name part must be no more than 63 characters",
"stacktrace": "sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem\n\t/remote-source/deps/gomod/pkg/mod/sigs.k8s.io/controller-runtime@v0.12.2/pkg/internal/controller/controller.go:273\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2\n\t/remote-source/deps/gomod/pkg/mod/sigs.k8s.io/controller-runtime@v0.12.2/pkg/internal/controller/controller.go:234"
}
CustomPoliciesSecretResverAnnotationPrefix is 61 characters long, it doesn't give much room for extra text (appended secret name).
Expected behavior:
- meet the limit of 63 chars, check the length before creation.
- duplicates
-
THREESCALE-9678 Allow for longer custom policy secret name
- Closed