score-k8s does currently not support an "environment" resource. In a recent community meeting we discussed the following:
Until we have a clear idea of how to interpret "environment" in score-k8s (possibly a config map?) we'd recommend users to implement a custom resource provisioner for their use case. This is being discussed in https://github.com/score-spec/score-k8s/issues/24
Additionally do we want to improve our error messaging to make this more clear. This is the improvement we'd like to tackle as part of the present issue
How to reproduce
Set up a Score spec with an environment resource, for example
Error: failed to provision resources: resource 'environment.default#my-sample-workload.env' is not supported by any provisioner
Requirements
Improve error message to
Error: failed to provision resources: The resource 'environment.default#my-sample-workload.env' is not supported by any existing provisioner. Please implement a custom resource provisioner to support this resource type.
Context
score-k8s does currently not support an "environment" resource. In a recent community meeting we discussed the following:
Until we have a clear idea of how to interpret "environment" in score-k8s (possibly a config map?) we'd recommend users to implement a custom resource provisioner for their use case. This is being discussed in https://github.com/score-spec/score-k8s/issues/24
Additionally do we want to improve our error messaging to make this more clear. This is the improvement we'd like to tackle as part of the present issue
How to reproduce
Set up a Score spec with an environment resource, for example
Run score-k8s
You will receive this error:
Requirements
Improve error message to