facubatista | ¡Muy buenos días a todos! | 10:31 |
---|---|---|
bthomas | नमस्ते facubatista | 10:59 |
facubatista | hola bthomas | 10:59 |
bthomas | facubatista: Do you know if version 3 pod spec is supported by Operator Framework 0.9 ? I am getting and error 'Unknown key "file"' if I use version 3 method of specifying files. AFAIK this method uses "volumeConfig" key which contains a "file" key. | 11:04 |
facubatista | bthomas, I don't know | 11:11 |
facubatista | bthomas, you're getting or setting? | 11:12 |
bthomas | facubatista: setting pod spec. | 11:13 |
facubatista | bthomas, ah, nevermind | 11:13 |
facubatista | bthomas, can you show me the traceback? | 11:14 |
bthomas | facubatista: https://pastebin.canonical.com/p/Ydnct4wnQD/ | 11:16 |
facubatista | bthomas, IIUC, the OF is calling juju's pod-spec-set passing a --file parameter to the spec you provided (line 8), which results in the "unknown field "file"" error... | 11:20 |
facubatista | bthomas, so, it looks a lower level issue | 11:20 |
facubatista | bthomas, which Juju version are you using? | 11:21 |
facubatista | bthomas, mmm.... you sure there's a "file" in volume config? https://discourse.juju.is/t/k8s-spec-v3-changes/2698 | 11:21 |
bthomas | Thanks. I am using Juju 2.8.4. Let me dig a bit further. Found some examples on discourse. Could be a syntax error in my spec. | 11:21 |
facubatista | bthomas, it looks there's a "files" | 11:22 |
bthomas | found example here https://discourse.juju.is/t/k8s-spec-v3-changes/2698. I am using list of dict as value for file. | 11:22 |
facubatista | bthomas, you gave me the same URL I gave you two lines above | 11:23 |
bthomas | :-) | 11:24 |
facubatista | bthomas, did you understand what I said above about "file"/"files" issue? | 11:24 |
facubatista | s/issue/detail/? | 11:24 |
bthomas | facubatista: I think you may be right. I was using this link https://discourse.juju.is/t/k8s-spec-reference/3495 which has "file" not "files" | 11:26 |
facubatista | this one, maybe is not v3? | 11:27 |
facubatista | or have a bug there? | 11:28 |
facubatista | bthomas, anyway, what happens if you try with "files"? | 11:28 |
bthomas | doing that now | 11:29 |
bthomas | facubatista: "files" works. | 11:32 |
bthomas | at least it fixes that error :-) | 11:32 |
facubatista | bthomas, please verify if that doc is talking about v3 or not; if it's v3, it should be fixed | 11:40 |
bthomas | spec problem is fixed now. | 11:47 |
bthomas | thank you for your help. | 11:47 |
* facubatista bbl | 18:54 | |
* facubatista eods | 23:29 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!