1
0
mirror of synced 2026-03-17 00:26:57 +00:00
Files
flux2/cmd/flux
Max Jonas Werner 9af6175302 fix e2e check test
The output of `kubectl version` has changed with newer kubectl version
from

```
{
  "serverVersion": ...,
  "clientVersion": ...
}
```

to

```
{
  "serverVersion": ...,
  "clientVersion": ...,
  "kustomizeVersion": ...
}
```

So the `kustomizeVersion` field is new which causes the JSON
unmarshaling to fail.

We now just unmarshal it to `map[string]interface{}` and peel the
server git version out of that map manually w/o unmarshalling the JSON
into a custom type.

Signed-off-by: Max Jonas Werner <mail@makk.es>
2022-05-18 16:51:18 +02:00
..
2022-04-01 10:27:37 +02:00
2022-02-21 10:40:35 +01:00
2022-02-21 10:40:35 +01:00
2022-01-20 11:51:56 +01:00
2022-05-18 16:51:18 +02:00
2021-03-26 10:20:42 +01:00
2020-10-29 16:25:16 +01:00
2020-10-29 16:25:16 +01:00
2022-01-10 16:30:38 +01:00
2022-03-23 11:33:35 +01:00
2022-03-23 11:33:35 +01:00
2022-01-10 16:30:38 +01:00
2022-02-21 10:40:35 +01:00
2022-01-10 16:30:38 +01:00
2022-02-21 10:40:35 +01:00
2022-01-10 16:30:38 +01:00
2022-02-21 10:40:35 +01:00
2022-01-10 16:30:38 +01:00
2022-01-10 16:30:38 +01:00
2022-03-02 19:36:08 +08:00
2022-01-10 16:30:38 +01:00
2022-02-21 10:40:35 +01:00
2022-02-21 10:40:35 +01:00
2020-10-29 16:25:16 +01:00
2020-11-26 16:40:54 +02:00
2022-03-23 11:33:35 +01:00
2022-03-23 11:33:35 +01:00
2020-11-26 16:22:47 +02:00
2022-01-10 16:30:38 +01:00
2021-10-25 13:45:13 +03:00
2022-01-10 16:30:38 +01:00
2021-10-05 10:29:00 +01:00