You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently I have a need to run tests in a namespace with a certain prefix in the name. I'd still want to maintain the random name generated by Chainsaw as the suffix. The tests require certain Roles that exist in my cluster. The prefix will enforce isolation to block access of the namespace to anyone (or anything) that don't possess the valid Role.
Solution Description
I'd like to configure the prefix of the namespace at the Test spec level and in the Configuration file.
Potential solution at the Test spec level:
apiVersion: chainsaw.kyverno.io/v1alpha1
kind: Test
metadata:
name: my-test
labels:
group: basic
spec:
description: "First Test"
namespace-prefix: "my-test" # The namespace would look like: my-test-<random-string>-<random-string>
Problem Statement
Currently I have a need to run tests in a namespace with a certain prefix in the name. I'd still want to maintain the random name generated by Chainsaw as the suffix. The tests require certain Roles that exist in my cluster. The prefix will enforce isolation to block access of the namespace to anyone (or anything) that don't possess the valid Role.
Solution Description
I'd like to configure the prefix of the namespace at the Test spec level and in the Configuration file.
Potential solution at the Test spec level:
Potential solution in Configuration:
Alternatives
As of right now, I couldn't find any workaround for this.
Additional Context
No response
Slack discussion
No response
Research
The text was updated successfully, but these errors were encountered: