We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Observed Behavior: Synchronization fails if resource refers another resource's field in the string value, for example:
apiVersion: iam.services.k8s.aws/v1alpha1 kind: Role ... spec: ... inlinePolicies: s3-policy: | { ... "Resource": [ "arn:aws:s3:::${inputBucket.status.location}/${schema.spec.input.prefix}/*" ] ... }
fails, while
apiVersion: iam.services.k8s.aws/v1alpha1 kind: Role ... spec: ... inlinePolicies: s3-policy: | { ... "Resource": [ "arn:aws:s3:::${schema.spec.input.bucket}/${schema.spec.input.prefix}/*" ] ... }
works as expected Expected Behavior: I would expect fields of the other resources in the RG to be accessible throughout the template
Reproduction Steps (Please include ResourceGroup and Instances files):
ResourceGroup
Instances
Versions:
kubectl version
Message: failed to synchronize reconciling resource inputBucket: failed to evaluate dynamic variables: failed compiling expression schema.spec.input.prefix: ERROR: <input>:1:1: undeclared reference to 'schema' (in container '') | schema.spec.input.prefix
No response
The text was updated successfully, but these errors were encountered:
michaelhtm
No branches or pull requests
Description
Observed Behavior:
Synchronization fails if resource refers another resource's field in the string value, for example:
fails, while
works as expected
Expected Behavior:
I would expect fields of the other resources in the RG to be accessible throughout the template
Reproduction Steps (Please include
ResourceGroup
andInstances
files):Versions:
kubectl version
):Client Version: v1.29.1
Kustomize Version: v5.0.4-0.20230601165947-6ce0bf390ce3
Server Version: v1.31.0-eks-a737599
Involved Controllers:
iam.services.k8s.aws/v1alpha1
Error Logs (if applicable)**:
Which option describes the most your issue?
No response
The text was updated successfully, but these errors were encountered: