amazon-sagemaker-operator-for-k8s icon indicating copy to clipboard operation
amazon-sagemaker-operator-for-k8s copied to clipboard

KmsKeyId will constantly reconcile if not using ARN

Open RedbackThomson opened this issue 4 years ago • 0 comments
trafficstars

What happened: When creating any custom resource with a KmsKeyId field specified using an ID, rather than an ARN, the reconciler will get stuck trying to infinitely reconcile it.

What you expected to happen: The custom resource is only reconciled once and then reaches a stable state.

How to reproduce it (as minimally and precisely as possible): Include a KmsKeyId with any ID to a custom resource (such as EndpointConfig).

Anything else we need to know?: The describe response for KmsKeyId is always an ARN. This is what causes the difference that the reconciler gets stuck trying to fix.

Environment:

  • Kubernetes version (use kubectl version):
  • Operator version (controller image tag):
  • OS (e.g: cat /etc/os-release):
  • Kernel (e.g. uname -a):
  • Installation method:
  • Others:

RedbackThomson avatar Feb 19 '21 21:02 RedbackThomson