From d30f7ade39170c0bf2555da539cb92006592f7f2 Mon Sep 17 00:00:00 2001 From: "Patrick J. McNerthney" Date: Wed, 21 Jan 2026 09:45:12 -1000 Subject: [PATCH] Fix --pip-install command line option Signed-off-by: Patrick J. McNerthney --- Dockerfile | 4 ++-- README.md | 6 +++--- examples/.dev/functions.yaml | 2 +- examples/aks-cluster/cluster-function-pythonic.yaml | 2 +- examples/aks-cluster/functions.yaml | 2 +- examples/connection-details-composition/functions.yaml | 2 +- examples/eks-cluster/functions.yaml | 2 +- examples/filing-system/function.yaml | 2 +- examples/function-go-templating/conditions/functions.yaml | 2 +- examples/function-go-templating/context/functions.yaml | 2 +- .../functions/fromYaml/functions.yaml | 2 +- .../functions/getComposedResource/functions.yaml | 2 +- .../functions/getCompositeResource/functions.yaml | 2 +- .../functions/getCredentialData/functions.yaml | 2 +- .../functions/getResourceCondition/functions.yaml | 2 +- .../function-go-templating/functions/include/functions.yaml | 2 +- .../function-go-templating/functions/toYaml/functions.yaml | 2 +- examples/function-go-templating/inline/functions.yaml | 2 +- examples/function-go-templating/recursive/functions.yaml | 2 +- .../required-resources/functions.yaml | 2 +- examples/function-sequencer/functions.yaml | 2 +- examples/get-started-app/functions.yaml | 2 +- examples/helm-copy-secret/functions.yaml | 2 +- examples/import-existing-vpc/functions.yaml | 2 +- examples/single-purpose/functions.yaml | 2 +- examples/usages-extra/functions.yaml | 2 +- scripts/setup-local.sh | 2 +- 27 files changed, 30 insertions(+), 30 deletions(-) diff --git a/Dockerfile b/Dockerfile index 644ec2f..5ac0203 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,8 +9,8 @@ RUN \ rm -rf /root/*.whl /root/.cache && \ groupadd --gid 2000 pythonic && \ useradd --uid 2000 --gid pythonic --home-dir /opt/pythonic --create-home --shell /usr/sbin/nologin pythonic && \ - mkdir --parents /opt/pythonic/.local/lib/python3.13/site-packages && \ - chown pythonic:pythonic --recursive /opt/pythonic/.local + mkdir --parents $(HOME=/opt/pythonic python -c 'import site;print(site.USER_SITE)') && \ + chown pythonic:pythonic --recursive /opt/pythonic USER pythonic:pythonic WORKDIR /opt/pythonic diff --git a/README.md b/README.md index 5194f21..c934492 100644 --- a/README.md +++ b/README.md @@ -57,7 +57,7 @@ kind: Function metadata: name: function-pythonic spec: - package: xpkg.upbound.io/crossplane-contrib/function-pythonic:v0.3.0 + package: xpkg.upbound.io/crossplane-contrib/function-pythonic:v0.3.1 ``` ### Crossplane V1 @@ -69,7 +69,7 @@ kind: Function metadata: name: function-pythonic spec: - package: xpkg.upbound.io/crossplane-contrib/function-pythonic:v0.3.0 + package: xpkg.upbound.io/crossplane-contrib/function-pythonic:v0.3.1 runtimeConfigRef: name: function-pythonic -- @@ -555,7 +555,7 @@ kind: Function metadata: name: function-pythonic spec: - package: xpkg.upbound.io/crossplane-contrib/function-pythonic:v0.3.0 + package: xpkg.upbound.io/crossplane-contrib/function-pythonic:v0.3.1 runtimeConfigRef: name: function-pythonic --- diff --git a/examples/.dev/functions.yaml b/examples/.dev/functions.yaml index 97b3592..fd5a6f2 100644 --- a/examples/.dev/functions.yaml +++ b/examples/.dev/functions.yaml @@ -10,4 +10,4 @@ metadata: render.crossplane.io/runtime: Development render.crossplane.io/runtime-development-target: localhost:9443 spec: - package: xpkg.upbound.io/crossplane-contrib/function-pythonic:v0.3.0 + package: xpkg.upbound.io/crossplane-contrib/function-pythonic:v0.3.1 diff --git a/examples/aks-cluster/cluster-function-pythonic.yaml b/examples/aks-cluster/cluster-function-pythonic.yaml index f9ae6c7..462bc3a 100644 --- a/examples/aks-cluster/cluster-function-pythonic.yaml +++ b/examples/aks-cluster/cluster-function-pythonic.yaml @@ -3,7 +3,7 @@ kind: Function metadata: name: function-pythonic spec: - package: xpkg.upbound.io/crossplane-contrib/function-pythonic:v0.3.0 + package: xpkg.upbound.io/crossplane-contrib/function-pythonic:v0.3.1 runtimeConfigRef: name: function-pythonic --- diff --git a/examples/aks-cluster/functions.yaml b/examples/aks-cluster/functions.yaml index 2a7e708..241a3c6 100644 --- a/examples/aks-cluster/functions.yaml +++ b/examples/aks-cluster/functions.yaml @@ -5,6 +5,6 @@ metadata: annotations: render.crossplane.io/runtime: Development spec: - package: xpkg.upbound.io/crossplane-contrib/function-pythonic:v0.3.0 + package: xpkg.upbound.io/crossplane-contrib/function-pythonic:v0.3.1 runtimeConfigRef: name: function-pythonic diff --git a/examples/connection-details-composition/functions.yaml b/examples/connection-details-composition/functions.yaml index 175d875..caa6091 100644 --- a/examples/connection-details-composition/functions.yaml +++ b/examples/connection-details-composition/functions.yaml @@ -5,4 +5,4 @@ metadata: annotations: render.crossplane.io/runtime: Development spec: - package: xpkg.upbound.io/crossplane-contrib/function-pythonic:v0.3.0 + package: xpkg.upbound.io/crossplane-contrib/function-pythonic:v0.3.1 diff --git a/examples/eks-cluster/functions.yaml b/examples/eks-cluster/functions.yaml index 647d864..2febaea 100644 --- a/examples/eks-cluster/functions.yaml +++ b/examples/eks-cluster/functions.yaml @@ -5,4 +5,4 @@ metadata: annotations: render.crossplane.io/runtime: Development spec: - package: xpkg.upbound.io/crossplane-contrib/function-pythonic:v0.3.0 + package: xpkg.upbound.io/crossplane-contrib/function-pythonic:v0.3.1 diff --git a/examples/filing-system/function.yaml b/examples/filing-system/function.yaml index e24d23a..96e5b5e 100644 --- a/examples/filing-system/function.yaml +++ b/examples/filing-system/function.yaml @@ -3,7 +3,7 @@ kind: Function metadata: name: function-pythonic spec: - package: xpkg.upbound.io/crossplane-contrib/function-pythonic:v0.3.0 + package: xpkg.upbound.io/crossplane-contrib/function-pythonic:v0.3.1 runtimeConfigRef: apiVersion: pkg.crossplane.io/v1beta1 kind: DeploymentRuntimeConfig diff --git a/examples/function-go-templating/conditions/functions.yaml b/examples/function-go-templating/conditions/functions.yaml index ff3c45e..34d17c4 100644 --- a/examples/function-go-templating/conditions/functions.yaml +++ b/examples/function-go-templating/conditions/functions.yaml @@ -7,4 +7,4 @@ metadata: # This tells crossplane beta render to connect to the function locally. render.crossplane.io/runtime: Development spec: - package: xpkg.upbound.io/crossplane-contrib/function-pythonic:v0.3.0 + package: xpkg.upbound.io/crossplane-contrib/function-pythonic:v0.3.1 diff --git a/examples/function-go-templating/context/functions.yaml b/examples/function-go-templating/context/functions.yaml index ff3c45e..34d17c4 100644 --- a/examples/function-go-templating/context/functions.yaml +++ b/examples/function-go-templating/context/functions.yaml @@ -7,4 +7,4 @@ metadata: # This tells crossplane beta render to connect to the function locally. render.crossplane.io/runtime: Development spec: - package: xpkg.upbound.io/crossplane-contrib/function-pythonic:v0.3.0 + package: xpkg.upbound.io/crossplane-contrib/function-pythonic:v0.3.1 diff --git a/examples/function-go-templating/functions/fromYaml/functions.yaml b/examples/function-go-templating/functions/fromYaml/functions.yaml index 493aa94..e153d1b 100644 --- a/examples/function-go-templating/functions/fromYaml/functions.yaml +++ b/examples/function-go-templating/functions/fromYaml/functions.yaml @@ -6,4 +6,4 @@ metadata: # This tells crossplane beta render to connect to the function locally. render.crossplane.io/runtime: Development spec: - package: xpkg.upbound.io/crossplane-contrib/function-pythonic:v0.3.0 + package: xpkg.upbound.io/crossplane-contrib/function-pythonic:v0.3.1 diff --git a/examples/function-go-templating/functions/getComposedResource/functions.yaml b/examples/function-go-templating/functions/getComposedResource/functions.yaml index 493aa94..e153d1b 100644 --- a/examples/function-go-templating/functions/getComposedResource/functions.yaml +++ b/examples/function-go-templating/functions/getComposedResource/functions.yaml @@ -6,4 +6,4 @@ metadata: # This tells crossplane beta render to connect to the function locally. render.crossplane.io/runtime: Development spec: - package: xpkg.upbound.io/crossplane-contrib/function-pythonic:v0.3.0 + package: xpkg.upbound.io/crossplane-contrib/function-pythonic:v0.3.1 diff --git a/examples/function-go-templating/functions/getCompositeResource/functions.yaml b/examples/function-go-templating/functions/getCompositeResource/functions.yaml index 493aa94..e153d1b 100644 --- a/examples/function-go-templating/functions/getCompositeResource/functions.yaml +++ b/examples/function-go-templating/functions/getCompositeResource/functions.yaml @@ -6,4 +6,4 @@ metadata: # This tells crossplane beta render to connect to the function locally. render.crossplane.io/runtime: Development spec: - package: xpkg.upbound.io/crossplane-contrib/function-pythonic:v0.3.0 + package: xpkg.upbound.io/crossplane-contrib/function-pythonic:v0.3.1 diff --git a/examples/function-go-templating/functions/getCredentialData/functions.yaml b/examples/function-go-templating/functions/getCredentialData/functions.yaml index 493aa94..e153d1b 100644 --- a/examples/function-go-templating/functions/getCredentialData/functions.yaml +++ b/examples/function-go-templating/functions/getCredentialData/functions.yaml @@ -6,4 +6,4 @@ metadata: # This tells crossplane beta render to connect to the function locally. render.crossplane.io/runtime: Development spec: - package: xpkg.upbound.io/crossplane-contrib/function-pythonic:v0.3.0 + package: xpkg.upbound.io/crossplane-contrib/function-pythonic:v0.3.1 diff --git a/examples/function-go-templating/functions/getResourceCondition/functions.yaml b/examples/function-go-templating/functions/getResourceCondition/functions.yaml index 493aa94..e153d1b 100644 --- a/examples/function-go-templating/functions/getResourceCondition/functions.yaml +++ b/examples/function-go-templating/functions/getResourceCondition/functions.yaml @@ -6,4 +6,4 @@ metadata: # This tells crossplane beta render to connect to the function locally. render.crossplane.io/runtime: Development spec: - package: xpkg.upbound.io/crossplane-contrib/function-pythonic:v0.3.0 + package: xpkg.upbound.io/crossplane-contrib/function-pythonic:v0.3.1 diff --git a/examples/function-go-templating/functions/include/functions.yaml b/examples/function-go-templating/functions/include/functions.yaml index 493aa94..e153d1b 100644 --- a/examples/function-go-templating/functions/include/functions.yaml +++ b/examples/function-go-templating/functions/include/functions.yaml @@ -6,4 +6,4 @@ metadata: # This tells crossplane beta render to connect to the function locally. render.crossplane.io/runtime: Development spec: - package: xpkg.upbound.io/crossplane-contrib/function-pythonic:v0.3.0 + package: xpkg.upbound.io/crossplane-contrib/function-pythonic:v0.3.1 diff --git a/examples/function-go-templating/functions/toYaml/functions.yaml b/examples/function-go-templating/functions/toYaml/functions.yaml index 493aa94..e153d1b 100644 --- a/examples/function-go-templating/functions/toYaml/functions.yaml +++ b/examples/function-go-templating/functions/toYaml/functions.yaml @@ -6,4 +6,4 @@ metadata: # This tells crossplane beta render to connect to the function locally. render.crossplane.io/runtime: Development spec: - package: xpkg.upbound.io/crossplane-contrib/function-pythonic:v0.3.0 + package: xpkg.upbound.io/crossplane-contrib/function-pythonic:v0.3.1 diff --git a/examples/function-go-templating/inline/functions.yaml b/examples/function-go-templating/inline/functions.yaml index 493aa94..e153d1b 100644 --- a/examples/function-go-templating/inline/functions.yaml +++ b/examples/function-go-templating/inline/functions.yaml @@ -6,4 +6,4 @@ metadata: # This tells crossplane beta render to connect to the function locally. render.crossplane.io/runtime: Development spec: - package: xpkg.upbound.io/crossplane-contrib/function-pythonic:v0.3.0 + package: xpkg.upbound.io/crossplane-contrib/function-pythonic:v0.3.1 diff --git a/examples/function-go-templating/recursive/functions.yaml b/examples/function-go-templating/recursive/functions.yaml index 493aa94..e153d1b 100644 --- a/examples/function-go-templating/recursive/functions.yaml +++ b/examples/function-go-templating/recursive/functions.yaml @@ -6,4 +6,4 @@ metadata: # This tells crossplane beta render to connect to the function locally. render.crossplane.io/runtime: Development spec: - package: xpkg.upbound.io/crossplane-contrib/function-pythonic:v0.3.0 + package: xpkg.upbound.io/crossplane-contrib/function-pythonic:v0.3.1 diff --git a/examples/function-go-templating/required-resources/functions.yaml b/examples/function-go-templating/required-resources/functions.yaml index 493aa94..e153d1b 100644 --- a/examples/function-go-templating/required-resources/functions.yaml +++ b/examples/function-go-templating/required-resources/functions.yaml @@ -6,4 +6,4 @@ metadata: # This tells crossplane beta render to connect to the function locally. render.crossplane.io/runtime: Development spec: - package: xpkg.upbound.io/crossplane-contrib/function-pythonic:v0.3.0 + package: xpkg.upbound.io/crossplane-contrib/function-pythonic:v0.3.1 diff --git a/examples/function-sequencer/functions.yaml b/examples/function-sequencer/functions.yaml index 175d875..caa6091 100644 --- a/examples/function-sequencer/functions.yaml +++ b/examples/function-sequencer/functions.yaml @@ -5,4 +5,4 @@ metadata: annotations: render.crossplane.io/runtime: Development spec: - package: xpkg.upbound.io/crossplane-contrib/function-pythonic:v0.3.0 + package: xpkg.upbound.io/crossplane-contrib/function-pythonic:v0.3.1 diff --git a/examples/get-started-app/functions.yaml b/examples/get-started-app/functions.yaml index 175d875..caa6091 100644 --- a/examples/get-started-app/functions.yaml +++ b/examples/get-started-app/functions.yaml @@ -5,4 +5,4 @@ metadata: annotations: render.crossplane.io/runtime: Development spec: - package: xpkg.upbound.io/crossplane-contrib/function-pythonic:v0.3.0 + package: xpkg.upbound.io/crossplane-contrib/function-pythonic:v0.3.1 diff --git a/examples/helm-copy-secret/functions.yaml b/examples/helm-copy-secret/functions.yaml index 175d875..caa6091 100644 --- a/examples/helm-copy-secret/functions.yaml +++ b/examples/helm-copy-secret/functions.yaml @@ -5,4 +5,4 @@ metadata: annotations: render.crossplane.io/runtime: Development spec: - package: xpkg.upbound.io/crossplane-contrib/function-pythonic:v0.3.0 + package: xpkg.upbound.io/crossplane-contrib/function-pythonic:v0.3.1 diff --git a/examples/import-existing-vpc/functions.yaml b/examples/import-existing-vpc/functions.yaml index 647d864..2febaea 100644 --- a/examples/import-existing-vpc/functions.yaml +++ b/examples/import-existing-vpc/functions.yaml @@ -5,4 +5,4 @@ metadata: annotations: render.crossplane.io/runtime: Development spec: - package: xpkg.upbound.io/crossplane-contrib/function-pythonic:v0.3.0 + package: xpkg.upbound.io/crossplane-contrib/function-pythonic:v0.3.1 diff --git a/examples/single-purpose/functions.yaml b/examples/single-purpose/functions.yaml index 175d875..caa6091 100644 --- a/examples/single-purpose/functions.yaml +++ b/examples/single-purpose/functions.yaml @@ -5,4 +5,4 @@ metadata: annotations: render.crossplane.io/runtime: Development spec: - package: xpkg.upbound.io/crossplane-contrib/function-pythonic:v0.3.0 + package: xpkg.upbound.io/crossplane-contrib/function-pythonic:v0.3.1 diff --git a/examples/usages-extra/functions.yaml b/examples/usages-extra/functions.yaml index 493aa94..e153d1b 100644 --- a/examples/usages-extra/functions.yaml +++ b/examples/usages-extra/functions.yaml @@ -6,4 +6,4 @@ metadata: # This tells crossplane beta render to connect to the function locally. render.crossplane.io/runtime: Development spec: - package: xpkg.upbound.io/crossplane-contrib/function-pythonic:v0.3.0 + package: xpkg.upbound.io/crossplane-contrib/function-pythonic:v0.3.1 diff --git a/scripts/setup-local.sh b/scripts/setup-local.sh index 1f0e6d4..feeaf0f 100755 --- a/scripts/setup-local.sh +++ b/scripts/setup-local.sh @@ -199,7 +199,7 @@ spec: EOF # package: ghcr.io/iciclespider/function-pythonic:v0.0.0-20260115045752-3c0cf4ebffd2 -# package: xpkg.upbound.io/crossplane-contrib/function-pythonic:v0.3.0 +# package: xpkg.upbound.io/crossplane-contrib/function-pythonic:v0.3.1 kubectl apply -f - <