diff --git a/charms/istio-pilot/charmcraft.yaml b/charms/istio-pilot/charmcraft.yaml index 8541a4ed..4203d92a 100644 --- a/charms/istio-pilot/charmcraft.yaml +++ b/charms/istio-pilot/charmcraft.yaml @@ -8,8 +8,8 @@ bases: channel: "20.04" parts: charm: - charm-python-packages: [setuptools, pip] - build-packages: [git, rustc, cargo] + charm-python-packages: [setuptools, pip, jsonschema, cryptography, cffi] + build-packages: [git, rustc, cargo, libffi-dev, libssl-dev] istioctl: plugin: dump source: https://github.com/istio/istio/releases/download/1.17.3/istioctl-1.17.3-linux-amd64.tar.gz diff --git a/charms/istio-pilot/requirements-unit.txt b/charms/istio-pilot/requirements-unit.txt index 81b055e7..511ad5f4 100644 --- a/charms/istio-pilot/requirements-unit.txt +++ b/charms/istio-pilot/requirements-unit.txt @@ -7,7 +7,9 @@ anyio==4.0.0 # via httpcore attrs==23.1.0 - # via jsonschema + # via + # jsonschema + # referencing certifi==2023.7.22 # via # httpcore @@ -43,7 +45,9 @@ idna==3.4 # httpx # requests importlib-resources==6.0.1 - # via jsonschema + # via + # jsonschema + # jsonschema-specifications iniconfig==2.0.0 # via pytest jinja2==3.1.2 @@ -52,7 +56,9 @@ jinja2==3.1.2 # -r requirements.in # charmed-kubeflow-chisme jsonschema==4.17.3 - # via serialized-data-interface + # via + # -r requirements.in + # serialized-data-interface lightkube==0.14.0 # via # -r requirements-unit.in diff --git a/charms/istio-pilot/requirements.in b/charms/istio-pilot/requirements.in index f408aa35..511b551f 100644 --- a/charms/istio-pilot/requirements.in +++ b/charms/istio-pilot/requirements.in @@ -1,6 +1,9 @@ charmed-kubeflow-chisme +# Required by tls-certificates library cryptography jinja2 +# Required by tls-certificates library +jsonschema lightkube # Pinning lightkube-models to keep compatibility with istio 1.17 # which supports versions 1.23, 1.24, 1.25, 1.26 of k8s diff --git a/charms/istio-pilot/requirements.txt b/charms/istio-pilot/requirements.txt index cc3c34f9..c049c1d0 100644 --- a/charms/istio-pilot/requirements.txt +++ b/charms/istio-pilot/requirements.txt @@ -7,7 +7,9 @@ anyio==4.0.0 # via httpcore attrs==23.1.0 - # via jsonschema + # via + # jsonschema + # referencing certifi==2023.7.22 # via # httpcore @@ -37,13 +39,17 @@ idna==3.4 # httpx # requests importlib-resources==6.0.1 - # via jsonschema + # via + # jsonschema + # jsonschema-specifications jinja2==3.1.2 # via # -r requirements.in # charmed-kubeflow-chisme jsonschema==4.17.3 - # via serialized-data-interface + # via + # -r requirements.in + # serialized-data-interface lightkube==0.14.0 # via # -r requirements.in