【发布时间】:2021-07-22 01:18:30
【问题描述】:
我正在使用 Ansible 和 Kubernetes 来应用 yaml 文件/配置映射。
我想将特定字段的值设置为字符串。该字符串将是 JSON 文本,与 yaml/config 映射的结构无关。
我可以这样做:
- name: Change a field in the ConfigMap (this will be a PATCH request)
k8s:
definition:
apiVersion: v1
kind: ConfigMap
metadata:
name: "test"
namespace: test
data:
hello: '[{"name":"John", "age":31, "city":"New York"}]'
这适用于单引号。
使用双引号,它不起作用。 “加载 YAML 时出现语法错误。”。我猜它正在尝试用双引号解析 JSON 的内容。
这就是问题所在。我想使用一个包含 JSON 字符串的变量,并做同样的事情。
假设我这样做:
- name: Set a name variable for this example
set_fact:
var: '[{"name":"John", "age":31, "city":"New York"}]'
- name: Change a field in the ConfigMap (this will be a PATCH request)
k8s:
definition:
apiVersion: v1
kind: ConfigMap
metadata:
name: "test"
namespace: test
data:
hello: '{{ var }}'
无论我使用单引号还是双引号,这都会爆炸。
fatal: [localhost]: FAILED! => {"changed": false, "error": 422, "msg": "Failed to patch object: b'{\"kind\":\"Status\",\"apiVersion\":\"v1\",\"metadata\":{},\"status\":\"Failure\",\"message\":\" \\\\\"\\\\\" is invalid: patch: Invalid value: \\\\\"{\\\\\\\\\\\\\"apiVersion\\\\\\\\\\\\\":\\\\\\\\\\\\\"v1\\\\\\\\\\\\\",\\\\\\\\\\\\\"data\\\\\\\\\\\\\":{\\\\\\\\\\\\\"extensions\\\\\\\\\\\\\":\\\\\\\\\\\\\"[{\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"extension_point_id\\\\\\\\\\\\\\\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"service_instance_details\\\\\\\\\\\\\\\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"extension_name\\\\\\\\\\\\\\\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"custom_instance_details\\\\\\\\\\\\\\\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"match_instance_id\\\\\\\\\\\\\\\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"532\\\\\\\\\\\\\\\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"details\\\\\\\\\\\\\\\\\\\\\\\\\\\\\":{\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"custom_sections\\\\\\\\\\\\\\\\\\\\\\\\\\\\\":[{\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"section_key\\\\\\\\\\\\\\\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"nodessection\\\\\\\\\\\\\\\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"title\\\\\\\\\\\\\\\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"Configuration\\\\\\\\\\\\\\\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"rows\\\\\\\\\\\\\\\\\\\\\\\\\\\\\":[{\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"label\\\\\\\\\\\\\\\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"Number of nodes\\\\\\\\\\\\\\\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"value\\\\\\\\\\\\\\\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"test\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"},{\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"label\\\\\\\\\\\\\\\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"Cores per node\\\\\\\\\\\\\\\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"value\\\\\\\\\\\\\\\\\\\\\\\\\\\\\":\\\\\\\\\\\\\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\\\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"icon\\\\\\\\\\\\\\\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"copy\\\\\\\\\\\\\\\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"on_click\\\\\\\\\\\\\\\\\\\\\\\\\\\\\":{\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"url\\\\\\\\\\\\\\\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"href_url\\\\\\\\\\\\\\\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"href_target\\\\\\\\\\\\\\\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"}}]}]}]}}]\\\\\\\\\\\\\",\\\\\\\\\\\\\"hello\\\\\\\\\\\\\":[{\\\\\\\\\\\\\"age\\\\\\\\\\\\\":31,\\\\\\\\\\\\\"city\\\\\\\\\\\\\":\\\\\\\\\\\\\"New York\\\\\\\\\\\\\",\\\\\\\\\\\\\"name\\\\\\\\\\\\\":\\\\\\\\\\\\\"John\\\\\\\\\\\\\"}]},\\\\\\\\\\\\\"kind\\\\\\\\\\\\\":\\\\\\\\\\\\\"ConfigMap\\\\\\\\\\\\\",\\\\\\\\\\\\\"metadata\\\\\\\\\\\\\":{\\\\\\\\\\\\\"annotations\\\\\\\\\\\\\":{\\\\\\\\\\\\\"kubectl.kubernetes.io/last-applied-configuration\\\\\\\\\\\\\":\\\\\\\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\\\\\\\\":{\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"annotations\\\\\\\\\\\\\\\\\\\\\\\\\\\\\":{},\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"labels\\\\\\\\\\\\\\\\\\\\\\\\\\\\\":{\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"icpdata_addon\\\\\\\\\\\\\\\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"true\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"},\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"name\\\\\\\\\\\\\\\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"test-details\\\\\\\\\\\\\\\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"namespace\\\\\\\\\\\\\\\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"prasa\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"}}\\\\\\\\\\\\\\\\n\\\\\\\\\\\\\"},\\\\\\\\\\\\\"creationTimestamp\\\\\\\\\\\\\":\\\\\\\\\\\\\"2021-04-28T02:46:43Z\\\\\\\\\\\\\",\\\\\\\\\\\\\"labels\\\\\\\\\\\\\":{\\\\\\\\\\\\\"icpdata_addon\\\\\\\\\\\\\":\\\\\\\\\\\\\"true\\\\\\\\\\\\\"},\\\\\\\\\\\\\"managedFields\\\\\\\\\\\\\":[{\\\\\\\\\\\\\"manager\\\\\\\\\\\\\":\\\\\\\\\\\\\"oc\\\\\\\\\\\\\",\\\\\\\\\\\\\"operation\\\\\\\\\\\\\":\\\\\\\\\\\\\"Update\\\\\\\\\\\\\",\\\\\\\\\\\\\"apiVersion\\\\\\\\\\\\\":\\\\\\\\\\\\\"v1\\\\\\\\\\\\\",\\\\\\\\\\\\\"time\\\\\\\\\\\\\":\\\\\\\\\\\\\"2021-04-28T15:44:10Z\\\\\\\\\\\\\",\\\\\\\\\\\\\"fieldsType\\\\\\\\\\\\\":\\\\\\\\\\\\\"FieldsV1\\\\\\\\\\\\\",\\\\\\\\\\\\\"fieldsV1\\\\\\\\\\\\\":{\\\\\\\\\\\\\"f:metadata\\\\\\\\\\\\\":{\\\\\\\\\\\\\"f:annotations\\\\\\\\\\\\\":{\\\\\\\\\\\\\".\\\\\\\\\\\\\":{},\\\\\\\\\\\\\"f:kubectl.kubernetes.io/last-applied-configuration\\\\\\\\\\\\\":{}},\\\\\\\\\\\\\"f:labels\\\\\\\\\\\\\":{\\\\\\\\\\\\\".\\\\\\\\\\\\\":{},\\\\\\\\\\\\\"f:icpdata_addon\\\\\\\\\\\\\":{}}}}},{\\\\\\\\\\\\\"manager\\\\\\\\\\\\\":\\\\\\\\\\\\\"kubectl\\\\\\\\\\\\\",\\\\\\\\\\\\\"operation\\\\\\\\\\\\\":\\\\\\\\\\\\\"Update\\\\\\\\\\\\\",\\\\\\\\\\\\\"apiVersion\\\\\\\\\\\\\":\\\\\\\\\\\\\"v1\\\\\\\\\\\\\",\\\\\\\\\\\\\"time\\\\\\\\\\\\\":\\\\\\\\\\\\\"2021-04-28T16:14:58Z\\\\\\\\\\\\\",\\\\\\\\\\\\\"fieldsType\\\\\\\\\\\\\":\\\\\\\\\\\\\"FieldsV1\\\\\\\\\\\\\",\\\\\\\\\\\\\"fieldsV1\\\\\\\\\\\\\":{\\\\\\\\\\\\\"f:data\\\\\\\\\\\\\":{\\\\\\\\\\\\\".\\\\\\\\\\\\\":{},\\\\\\\\\\\\\"f:extensions\\\\\\\\\\\\\":{}}}},{\\\\\\\\\\\\\"manager\\\\\\\\\\\\\":\\\\\\\\\\\\\"OpenAPI-Generator\\\\\\\\\\\\\",\\\\\\\\\\\\\"operation\\\\\\\\\\\\\":\\\\\\\\\\\\\"Update\\\\\\\\\\\\\",\\\\\\\\\\\\\"apiVersion\\\\\\\\\\\\\":\\\\\\\\\\\\\"v1\\\\\\\\\\\\\",\\\\\\\\\\\\\"time\\\\\\\\\\\\\":\\\\\\\\\\\\\"2021-04-28T16:25:35Z\\\\\\\\\\\\\",\\\\\\\\\\\\\"fieldsType\\\\\\\\\\\\\":\\\\\\\\\\\\\"FieldsV1\\\\\\\\\\\\\",\\\\\\\\\\\\\"fieldsV1\\\\\\\\\\\\\":{\\\\\\\\\\\\\"f:data\\\\\\\\\\\\\":{\\\\\\\\\\\\\"f:hello\\\\\\\\\\\\\":{}}}}],\\\\\\\\\\\\\"name\\\\\\\\\\\\\":\\\\\\\\\\\\\"test-details\\\\\\\\\\\\\",\\\\\\\\\\\\\"namespace\\\\\\\\\\\\\":\\\\\\\\\\\\\"prasa\\\\\\\\\\\\\",\\\\\\\\\\\\\"resourceVersion\\\\\\\\\\\\\":\\\\\\\\\\\\\"434431\\\\\\\\\\\\\",\\\\\\\\\\\\\"uid\\\\\\\\\\\\\":\\\\\\\\\\\\\"c5ea7b6a-94b0-40b7-b171-dc9fcc23e0f2\\\\\\\\\\\\\"}}\\\\\": v1.ConfigMap.Data: ReadString: expects \\\\\" or n, but found [, error found in #10 byte of ...|,\\\\\"hello\\\\\":[{\\\\\"age\\\\\":31,|..., bigger context ...|l\\\\\\\\\\\\\":\\\\\\\\\\\\\"\\\\\\\\\\\\\",\\\\\\\\\\\\\"href_target\\\\\\\\\\\\\":\\\\\\\\\\\\\"\\\\\\\\\\\\\"}}]}]}]}}]\\\\\",\\\\\"hello\\\\\":[{\\\\\"age\\\\\":31,\\\\\"city\\\\\":\\\\\"New York\\\\\",\\\\\"name\\\\\":\\\\\"John\\\\\"}]},\\\\\"kind|...\",\"field\":\"patch\"}]},\"code\":422}\\n'", "reason": "Unprocessable Entity", "status": 422}
任何想法如何做到这一点?
【问题讨论】:
-
使用双引号,它不起作用 > 如果你在值中转义了双引号,它会。无论如何,错误信息并不完整,请编辑问题以显示完整的错误信息。
-
好的,我更新了错误。在 Ansible 中转义引号的最佳方法是什么?
-
嗯,错误消息似乎与您的代码不对应。从反斜杠的数量来看,这显然是一些逃避问题。我建议尝试
{{ var | to_yaml }}(不带单引号),因为当var是一个字符串时,它会正确引用它以包含在YAML 中。
标签: json kubernetes ansible yaml configmap