Skip to content

Commit

Permalink
Update perl imagestreams (#1563)
Browse files Browse the repository at this point in the history
  • Loading branch information
phracek authored Aug 5, 2024
1 parent c4113eb commit 64e524c
Show file tree
Hide file tree
Showing 6 changed files with 128 additions and 0 deletions.
16 changes: 16 additions & 0 deletions charts/redhat/redhat/redhat-perl-imagestreams/0.0.2/src/Chart.yaml
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. Build and run Perl applications on UBI.
For more information about using this builder image, including OpenShift considerations,
see https://github.com/sclorg/s2i-perl-container/blob/master/5.32/README.md.
annotations:
charts.openshift.io/name: Red Hat Perl imagestreams on UBI (experimental)
charts.openshift.io/provider: Red Hat
charts.openshift.io/providerType: redhat
apiVersion: v2
appVersion: 0.0.2
kubeVersion: '>=1.20.0'
name: redhat-perl-imagestreams
tags: builder,perl
sources:
- https://github.com/sclorg/helm-charts
version: 0.0.2
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Perl imagestreams helm chart

A Helm chart for importing Perl 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.
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
---
kind: ImageStream
apiVersion: image.openshift.io/v1
metadata:
name: perl
annotations:
openshift.io/display-name: Perl
spec:
tags:
- name: latest
annotations:
openshift.io/display-name: Perl (Latest)
openshift.io/provider-display-name: Red Hat, Inc.
description: |-
Build and run Perl applications on UBI. For more information about using this builder image, including OpenShift considerations, see https://github.com/sclorg/s2i-perl-container/blob/master/5.32/README.md.
WARNING: By selecting this tag, your application will automatically update to use the latest version of Perl available on OpenShift, including major version updates.
iconClass: icon-perl
tags: builder,perl
supports: perl
sampleRepo: https://github.com/sclorg/dancer-ex.git
from:
kind: ImageStreamTag
name: 5.32-ubi8
referencePolicy:
type: Local
- name: 5.32-ubi9
annotations:
openshift.io/display-name: Perl 5.32 (UBI 9)
openshift.io/provider-display-name: Red Hat, Inc.
description: Build and run Perl 5.32 applications on UBI 9. For more information
about using this builder image, including OpenShift considerations, see https://github.com/sclorg/s2i-perl-container/blob/master/5.32/README.md.
iconClass: icon-perl
tags: builder,perl
supports: perl:5.32,perl
version: '5.32'
sampleRepo: https://github.com/sclorg/dancer-ex.git
from:
kind: DockerImage
name: registry.redhat.io/ubi9/perl-532:latest
referencePolicy:
type: Local
- name: 5.32-ubi8
annotations:
openshift.io/display-name: Perl 5.32 (UBI 8)
openshift.io/provider-display-name: Red Hat, Inc.
description: Build and run Perl 5.32 applications on UBI 8. For more information
about using this builder image, including OpenShift considerations, see https://github.com/sclorg/s2i-perl-container/blob/master/5.32/README.md.
iconClass: icon-perl
tags: builder,perl
supports: perl:5.32,perl
version: '5.32'
sampleRepo: https://github.com/sclorg/dancer-ex.git
from:
kind: DockerImage
name: registry.redhat.io/ubi8/perl-532:latest
referencePolicy:
type: Local
- name: 5.26-ubi8
annotations:
openshift.io/display-name: Perl 5.26 (UBI 8)
openshift.io/provider-display-name: Red Hat, Inc.
description: Build and run Perl 5.26 applications on UBI 8. For more information
about using this builder image, including OpenShift considerations, see https://github.com/sclorg/s2i-perl-container/blob/master/5.26-mod_fcgid/README.md.
iconClass: icon-perl
tags: builder,perl
supports: perl:5.26,perl
version: '5.26'
sampleRepo: https://github.com/sclorg/dancer-ex.git
from:
kind: DockerImage
name: registry.redhat.io/ubi8/perl-526:latest
referencePolicy:
type: Local
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/perl-532"
imagePullPolicy: IfNotPresent
command:
- '/bin/bash'
- '-ec'
- >
perl -v
lookupPolicy:
local: true
restartPolicy: Never
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"
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
namespace: openshift

0 comments on commit 64e524c

Please sign in to comment.