Keys

PartialFailure, and edits that disappear.

These are about what ended up in the Secret.

PartialFailure

Some keys could not be written. Kubernetes accepts only letters, digits, -, _ and . in a Secret key, at most 253 characters, and a key with any other name is left out. The message names each one.

The rest of the environment was still written, in one operation, and the resource stays Ready=False until every key fits. Rename the key in orcakey.sh.

CollectionNotFound

The resource sets spec.collections, and orcakey.sh has no collection by one of those names, so the Secret was left as it was. The field is kept for one release only.

Remove collections from the OrcaKeySecret. Its Secret then becomes a column on the environment page, and you choose its keys there.

An edit disappeared

Not a reason the resource reports. The operator owns the whole Secret: when the environment changes it overwrites the Secret with exactly the environment’s keys, so a value changed or a key added with kubectl is gone after the next change in orcakey.sh. Make the change in orcakey.sh instead.