In fact, I want to add the encode here, if I remove it, it will be OK 在 2020年4月7日星期二 UTC+8下午7:14:36,Dick Visser写道: > > You are including "jupyterhubDockerhubconfigjson.j2" |b64encode, which is > "anVweXRlcmh1YkRvY2tlcmh1YmNvbmZpZ2pzb24uajI=". > Remove the b64encode filter? > > On Tue, 7 Apr 2020 at 13:04, 胡雷雷 <[email protected] <javascript:>> wrote: > >> I want to create a k8s resource with operator-sdk in ansible model. in >> my application, I want to {%include%} a template >> jupyterhubDockerhubconfigjson.j2 with same location of my based one. >> liking this : >> data: >> .dockerconfigjson: "{% include "jupyterhubDockerhubconfigjson.j2" >> |b64encode %}" >> >> However, when I add the b64encode action, it will fail. How could I >> encode its(a json configure file) content >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Ansible Project" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected] <javascript:>. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/ansible-project/c010102d-3e08-4d63-8b8a-1222be95d45a%40googlegroups.com >> >> <https://groups.google.com/d/msgid/ansible-project/c010102d-3e08-4d63-8b8a-1222be95d45a%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> > > > -- > Dick Visser > Trust & Identity Service Operations Manager > GÉANT >
-- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/fa2f5133-541e-4ac2-a488-f451ca8b0bd1%40googlegroups.com.
