Skip to content
New issue

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

<SOPS_VAR>语法自定义输出中的value支持多行文本 #7065

Closed
ecoli666 opened this issue Sep 12, 2023 · 2 comments · Fixed by #7131
Closed

<SOPS_VAR>语法自定义输出中的value支持多行文本 #7065

ecoli666 opened this issue Sep 12, 2023 · 2 comments · Fixed by #7131
Assignees

Comments

@ecoli666
Copy link
Collaborator

ecoli666 commented Sep 12, 2023

问题描述

如图使用<SOPS_VAR>语法时,

  1. 单行文本正常存储在log_outputs中,多行文本未能保存到log_outputs中

image

优化

  1. 在作业平台日志中提取时,需要能匹配多行文本
@ecoli666
Copy link
Collaborator Author

@normal-wls 一组<SOPS_VAR>对中 ,仅匹配 一组 key:value对

@ecoli666
Copy link
Collaborator Author

ecoli666 commented Nov 8, 2023

@normal-wls 希望支持使用 json.loads将字符串转换为 json 对象
${ json.loads(var) }
#7160

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants