-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
alpha feature "Targeting Custom Resources" - "Advanced Path Targeting" templating works not as expected #5587
Copy link
Copy link
Closed
Labels
kind/bugCategorizes issue or PR as related to a bug.Categorizes issue or PR as related to a bug.track/coreCaptures issues that are related to Core controller workCaptures issues that are related to Core controller work
Description
ESO version 1.00
this works as expected:
templateFrom:
- literal: |
slack:
api_url: https://www.whatever.com
target: spec
this is not working:
template:
engineVersion: v2
templateFrom:
- literal: |
api_url: https://www.whatever.com
target: spec.slack
produces:
"msg":"unknown field "spec.slack.slack"","controller":"externalsecret","controllerGroup":"external-secrets.io","controllerKind":"ExternalSecret",...
additionally, this is also not working:
templateFrom:
- literal: |
slack:
api_url: {{ .url }}
target: spec
with:
data:
- secretKey: url
remoteRef:
conversionStrategy: Default
decodingStrategy: None
metadataPolicy: None
key: vaultpath/asecretinvault
it produces:
"unknown field "spec.slack.api_url.url"","controller":"externalsecret","controllerGroup":"external-secrets.io","controllerKind":"ExternalSecret","ExternalSecret":...
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
kind/bugCategorizes issue or PR as related to a bug.Categorizes issue or PR as related to a bug.track/coreCaptures issues that are related to Core controller workCaptures issues that are related to Core controller work
Type
Projects
Status
Done