-
Notifications
You must be signed in to change notification settings - Fork 191
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
192 additions
and
0 deletions.
There are no files selected for viewing
16 changes: 16 additions & 0 deletions
16
charts/redhat/redhat/redhat-python-imagestreams/0.0.2/src/Chart.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
description: |- | ||
This content is experimental, do not use it in production. Python imagestreams for using on OpenShift 4. | ||
For more information about using this builder image, including OpenShift considerations, | ||
see https://github.com/sclorg/s2i-python-container/blob/master/3.11/README.md. | ||
annotations: | ||
charts.openshift.io/name: Red Hat Python imagestreams (experimental). | ||
charts.openshift.io/provider: Red Hat | ||
charts.openshift.io/providerType: redhat | ||
apiVersion: v2 | ||
appVersion: 0.0.2 | ||
kubeVersion: '>=1.20.0' | ||
name: redhat-python-imagestreams | ||
tags: builder,python | ||
sources: | ||
- https://github.com/sclorg/helm-charts | ||
version: 0.0.2 |
7 changes: 7 additions & 0 deletions
7
charts/redhat/redhat/redhat-python-imagestreams/0.0.2/src/README.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# Python imagestreams helm chart | ||
|
||
A Helm chart for importing Python imagestreams on OpenShift. | ||
|
||
For more information about helm charts see the official [Helm Charts Documentation](https://helm.sh/). | ||
|
||
You need to have access to a cluster for each operation with OpenShift 4, like deploying and testing. |
138 changes: 138 additions & 0 deletions
138
charts/redhat/redhat/redhat-python-imagestreams/0.0.2/src/templates/python-imagestream.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,138 @@ | ||
--- | ||
kind: ImageStream | ||
apiVersion: image.openshift.io/v1 | ||
metadata: | ||
name: python | ||
annotations: | ||
openshift.io/display-name: Python | ||
spec: | ||
tags: | ||
- name: latest | ||
annotations: | ||
openshift.io/display-name: Python (Latest) | ||
openshift.io/provider-display-name: Red Hat, Inc. | ||
description: |- | ||
Build and run Python applications on UBI. For more information about using this builder image, including OpenShift considerations, see https://github.com/sclorg/s2i-python-container/blob/master/3.9/README.md. | ||
WARNING: By selecting this tag, your application will automatically update to use the latest version of Python available on OpenShift, including major version updates. | ||
iconClass: icon-python | ||
tags: builder,python | ||
supports: python | ||
sampleRepo: https://github.com/sclorg/django-ex.git | ||
from: | ||
kind: ImageStreamTag | ||
name: 3.9-ubi8 | ||
referencePolicy: | ||
type: Local | ||
- name: 3.12-ubi9 | ||
annotations: | ||
openshift.io/display-name: Python 3.12 (UBI 9) | ||
openshift.io/provider-display-name: Red Hat, Inc. | ||
description: Build and run Python 3.12 applications on UBI 9. For more information | ||
about using this builder image, including OpenShift considerations, see https://github.com/sclorg/s2i-python-container/blob/master/3.12/README.md. | ||
iconClass: icon-python | ||
tags: builder,python | ||
supports: python:3.12,python | ||
version: '3.12' | ||
sampleRepo: https://github.com/sclorg/django-ex.git | ||
from: | ||
kind: DockerImage | ||
name: registry.redhat.io/ubi9/python-312:latest | ||
referencePolicy: | ||
type: Local | ||
- name: 3.12-ubi8 | ||
annotations: | ||
openshift.io/display-name: Python 3.12 (UBI 8) | ||
openshift.io/provider-display-name: Red Hat, Inc. | ||
description: Build and run Python 3.12 applications on UBI 8. For more information | ||
about using this builder image, including OpenShift considerations, see https://github.com/sclorg/s2i-python-container/blob/master/3.12/README.md. | ||
iconClass: icon-python | ||
tags: builder,python | ||
supports: python:3.12,python | ||
version: '3.12' | ||
sampleRepo: https://github.com/sclorg/django-ex.git | ||
from: | ||
kind: DockerImage | ||
name: registry.redhat.io/ubi8/python-312:latest | ||
referencePolicy: | ||
type: Local | ||
- name: 3.11-ubi9 | ||
annotations: | ||
openshift.io/display-name: Python 3.11 (UBI 9) | ||
openshift.io/provider-display-name: Red Hat, Inc. | ||
description: Build and run Python 3.11 applications on UBI 9. For more information | ||
about using this builder image, including OpenShift considerations, see https://github.com/sclorg/s2i-python-container/blob/master/3.11/README.md. | ||
iconClass: icon-python | ||
tags: builder,python | ||
supports: python:3.11,python | ||
version: '3.11' | ||
sampleRepo: https://github.com/sclorg/django-ex.git | ||
from: | ||
kind: DockerImage | ||
name: registry.redhat.io/ubi9/python-311:latest | ||
referencePolicy: | ||
type: Local | ||
- name: 3.9-ubi9 | ||
annotations: | ||
openshift.io/display-name: Python 3.9 (UBI 9) | ||
openshift.io/provider-display-name: Red Hat, Inc. | ||
description: Build and run Python 3.9 applications on UBI 9. For more information | ||
about using this builder image, including OpenShift considerations, see https://github.com/sclorg/s2i-python-container/blob/master/3.9/README.md. | ||
iconClass: icon-python | ||
tags: builder,python | ||
supports: python:3.9,python | ||
version: '3.9' | ||
sampleRepo: https://github.com/sclorg/django-ex.git | ||
from: | ||
kind: DockerImage | ||
name: registry.redhat.io/ubi9/python-39:latest | ||
referencePolicy: | ||
type: Local | ||
- name: 3.11-ubi8 | ||
annotations: | ||
openshift.io/display-name: Python 3.11 (UBI 8) | ||
openshift.io/provider-display-name: Red Hat, Inc. | ||
description: Build and run Python 3.11 applications on UBI 8. For more information | ||
about using this builder image, including OpenShift considerations, see https://github.com/sclorg/s2i-python-container/blob/master/3.11/README.md. | ||
iconClass: icon-python | ||
tags: builder,python | ||
supports: python:3.11,python | ||
version: '3.11' | ||
sampleRepo: https://github.com/sclorg/django-ex.git | ||
from: | ||
kind: DockerImage | ||
name: registry.redhat.io/ubi8/python-311:latest | ||
referencePolicy: | ||
type: Local | ||
- name: 3.9-ubi8 | ||
annotations: | ||
openshift.io/display-name: Python 3.9 (UBI 8) | ||
openshift.io/provider-display-name: Red Hat, Inc. | ||
description: Build and run Python 3.9 applications on UBI 8. For more information | ||
about using this builder image, including OpenShift considerations, see https://github.com/sclorg/s2i-python-container/blob/master/3.9/README.md. | ||
iconClass: icon-python | ||
tags: builder,python | ||
supports: python:3.9,python | ||
version: '3.9' | ||
sampleRepo: https://github.com/sclorg/django-ex.git | ||
from: | ||
kind: DockerImage | ||
name: registry.redhat.io/ubi8/python-39:latest | ||
referencePolicy: | ||
type: Local | ||
- name: 3.6-ubi8 | ||
annotations: | ||
openshift.io/display-name: Python 3.6 (UBI 8) | ||
openshift.io/provider-display-name: Red Hat, Inc. | ||
description: Build and run Python 3.6 applications on UBI 8. For more information | ||
about using this builder image, including OpenShift considerations, see https://github.com/sclorg/s2i-python-container/blob/master/3.6/README.md. | ||
iconClass: icon-python | ||
tags: builder,python | ||
supports: python:3.6,python | ||
version: '3.6' | ||
sampleRepo: https://github.com/sclorg/django-ex.git | ||
from: | ||
kind: DockerImage | ||
name: registry.redhat.io/ubi8/python-36:latest | ||
referencePolicy: | ||
type: Local |
21 changes: 21 additions & 0 deletions
21
.../redhat/redhat-python-imagestreams/0.0.2/src/templates/tests/test-import-imagestream.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
apiVersion: v1 | ||
kind: Pod | ||
metadata: | ||
name: "{{ .Release.Name }}-connection-test" | ||
namespace: "{{ .Release.Namespace }}" | ||
annotations: | ||
"helm.sh/hook": test | ||
spec: | ||
#serviceAccount: {{ .Values.serviceAccount }} | ||
containers: | ||
- name: "perl-imagestream-test" | ||
image: "registry.access.redhat.com/ubi9/python-311" | ||
imagePullPolicy: IfNotPresent | ||
command: | ||
- '/bin/bash' | ||
- '-ec' | ||
- > | ||
python -v | ||
lookupPolicy: | ||
local: true | ||
restartPolicy: Never |
9 changes: 9 additions & 0 deletions
9
charts/redhat/redhat/redhat-python-imagestreams/0.0.2/src/values.schema.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"$schema": "http://json-schema.org/schema#", | ||
"type": "object", | ||
"properties": { | ||
"namespace": { | ||
"type": "string" | ||
} | ||
} | ||
} |
1 change: 1 addition & 0 deletions
1
charts/redhat/redhat/redhat-python-imagestreams/0.0.2/src/values.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
namespace: openshift |