Skip to content

Commit

Permalink
remove the 'openshift' python package
Browse files Browse the repository at this point in the history
and the community.kubernetes collection that requires it

Signed-off-by: Bryce Palmer <bpalmer@redhat.com>
  • Loading branch information
everettraven committed Jun 28, 2023
1 parent b794fe9 commit d703c27
Show file tree
Hide file tree
Showing 7 changed files with 161 additions and 388 deletions.
1 change: 0 additions & 1 deletion images/ansible-operator-2.11-preview/Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ name = "pypi"
ansible-runner = "~=1.4.7"
ansible-runner-http = "==1.0.0"
ipaddress = "==1.0.23"
openshift = "~=0.13.0"
jmespath = "==0.10.0"
cryptography = "==3.3.2"
ansible-core = "~=2.11.0"
Expand Down
289 changes: 89 additions & 200 deletions images/ansible-operator-2.11-preview/Pipfile.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion images/ansible-operator/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ COPY . .
RUN GOOS=linux GOARCH=$TARGETARCH make build/ansible-operator

# Final image.
FROM quay.io/operator-framework/ansible-operator-base:master-50c6ac03746ff4edf582feb9a71d2a7ea6ae6c40
FROM quay.io/operator-framework/ansible-operator-base:dev

ENV HOME=/opt/ansible \
USER_NAME=ansible \
Expand Down
1 change: 0 additions & 1 deletion images/ansible-operator/Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ name = "pypi"
ansible-runner = "~=2.0.2"
ansible-runner-http = "~=1.0.0"
ipaddress = "==1.0.23"
openshift = "~=0.13.0"
ansible = "~=2.9.15"
jmespath = "==0.10.0"
cryptography = "==3.3.2"
Expand Down
252 changes: 71 additions & 181 deletions images/ansible-operator/Pipfile.lock

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,6 @@ func (f *RequirementsYml) SetTemplateDefaults() error {

const requirementsYmlTmpl = `---
collections:
- name: community.kubernetes
version: "2.0.1"
- name: operator_sdk.util
version: "0.4.0"
- name: kubernetes.core
Expand Down
2 changes: 0 additions & 2 deletions testdata/ansible/memcached-operator/requirements.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
---
collections:
- name: community.kubernetes
version: "2.0.1"
- name: operator_sdk.util
version: "0.4.0"
- name: kubernetes.core
Expand Down

0 comments on commit d703c27

Please sign in to comment.