{"id":430891,"date":"2021-04-18T14:00:52","date_gmt":"2021-04-18T06:00:52","guid":{"rendered":"http:\/\/4563.org\/?p=430891"},"modified":"2021-04-18T14:00:52","modified_gmt":"2021-04-18T06:00:52","slug":"%e5%8f%af%e4%b8%8d%e5%8f%af%e4%bb%a5-%e5%9c%a8-helm-%e7%9a%84-values-%e4%b8%ad%e4%bd%bf%e7%94%a8%e5%b7%b2%e6%9c%89%e7%9a%84%e5%8f%98%e9%87%8f%ef%bc%9f","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=430891","title":{"rendered":"\u53ef\u4e0d\u53ef\u4ee5 \u5728 Helm \u7684 Values \u4e2d\u4f7f\u7528\u5df2\u6709\u7684\u53d8\u91cf\uff1f"},"content":{"rendered":"<div>\n<div>\n<div>\n<h1>                  \u53ef\u4e0d\u53ef\u4ee5 \u5728 Helm \u7684 Values \u4e2d\u4f7f\u7528\u5df2\u6709\u7684\u53d8\u91cf\uff1f               <\/h1>\n<p> <\/p>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : lrvinye <\/span>  <span><i><\/i> 7<\/span> <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<\/p><\/div>\n<div isfirst=\"1\"> <\/p>\n<p>\u6bd4\u5982\u6211\u60f3\u8ba9\u4e0b\u9762\u8fd9\u4e2a Values \u6587\u4ef6<\/p>\n<pre><code> foo: 123  bar: {{ .Values.foo }}  <\/code><\/pre>\n<p>\u7b49\u6548\u4e8e\u4e0b\u9762\u8fd9\u4e2a\uff0c<\/p>\n<pre><code> foo: 123  bar: 123  <\/code><\/pre>\n<p>\u53ef\u4ee5\u8fd9\u6837\u7528\u5417\uff1f<\/p>\n<\/p><\/div>\n<div> <b>\u5927\u4f6c\u6709\u8a71\u8aaa<\/b> (<span>4<\/span>)        <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<ul>\n<li data-pid=\"5639383\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : plko345 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u597d\u50cf\u4e0d\u884c\uff0cvalue \u4e0d\u80fd\u7528 jinja \u5427                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5639384\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : lrvinye <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @plko345 jinja \u662f\u4ec0\u4e48\uff1f                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5639385\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : plko345 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @lrvinye \u8bf4\u9519\u4e86\uff0c\u662f go template                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5639386\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : anubu <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             values \u6587\u4ef6\u662f yaml \u6587\u4ef6\uff0c\u4e0d\u80fd\u4f7f\u7528\u6a21\u677f\uff0c\u53ef\u4ee5\u8003\u8651 yaml anchor \u3002https:\/\/helm.sh\/docs\/chart_template_guide\/yaml_techniques\/#yaml-anchors                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li>\n","protected":false},"excerpt":{"rendered":"<p>\u53ef\u4e0d\u53ef\u4ee5 \u5728 Helm \u7684 Val&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[],"tags":[],"_links":{"self":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/430891"}],"collection":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=430891"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/430891\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=430891"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=430891"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=430891"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}