Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EOL php-8.0 for RHEL8 #1718

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions charts/redhat/redhat/redhat-php-imagestreams/0.0.3/src/Chart.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
description: |-
This content is experimental, do not use it in production. Import PHP imagestreams to OpenShift 4.
For more information about using this builder image, including OpenShift considerations,
see https://github.com/sclorg/s2i-php-container/blob/master/8.2/README.md.
annotations:
charts.openshift.io/name: Red Hat PHP imagestreams on UBI (experimental)
apiVersion: v2
appVersion: 0.0.3
kubeVersion: '>=1.20.0'
name: redhat-php-imagestreams
tags: builder,php
sources:
- https://github.com/sclorg/helm-charts
version: 0.0.3
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# PHP imagestreams helm chart

A Helm chart for importing PHP 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,106 @@
---
kind: ImageStream
apiVersion: image.openshift.io/v1
metadata:
name: php
annotations:
openshift.io/display-name: PHP
spec:
tags:
- name: latest
annotations:
openshift.io/display-name: PHP (Latest)
openshift.io/provider-display-name: Red Hat, Inc.
description: |-
Build and run PHP applications on UBI. For more information about using this builder image, including OpenShift considerations, see https://github.com/sclorg/s2i-php-container/blob/master/8.0/README.md.

WARNING: By selecting this tag, your application will automatically update to use the latest version of PHP available on OpenShift, including major version updates.
iconClass: icon-php
tags: builder,php
supports: php
sampleRepo: https://github.com/sclorg/cakephp-ex.git
from:
kind: ImageStreamTag
name: 8.2-ubi8
referencePolicy:
type: Local
- name: 8.2-ubi9
annotations:
openshift.io/display-name: PHP 8.2 (UBI 9)
openshift.io/provider-display-name: Red Hat, Inc.
description: Build and run PHP 8.2 applications on UBI 9. For more information
about using this builder image, including OpenShift considerations, see https://github.com/sclorg/s2i-php-container/blob/master/8.2/README.md.
iconClass: icon-php
tags: builder,php
supports: php:8.2,php
version: '8.2'
sampleRepo: https://github.com/sclorg/cakephp-ex.git
from:
kind: DockerImage
name: registry.redhat.io/ubi9/php-82:latest
referencePolicy:
type: Local
- name: 8.2-ubi8
annotations:
openshift.io/display-name: PHP 8.2 (UBI 8)
openshift.io/provider-display-name: Red Hat, Inc.
description: Build and run PHP 8.2 applications on UBI 8. For more information
about using this builder image, including OpenShift considerations, see https://github.com/sclorg/s2i-php-container/blob/master/8.2/README.md.
iconClass: icon-php
tags: builder,php
supports: php:8.2,php
version: '8.2'
sampleRepo: https://github.com/sclorg/cakephp-ex.git
from:
kind: DockerImage
name: registry.redhat.io/ubi8/php-82:latest
referencePolicy:
type: Local
- name: 8.1-ubi9
annotations:
openshift.io/display-name: PHP 8.1 (UBI 9)
openshift.io/provider-display-name: Red Hat, Inc.
description: Build and run PHP 8.1 applications on UBI 9. For more information
about using this builder image, including OpenShift considerations, see https://github.com/sclorg/s2i-php-container/blob/master/8.1/README.md.
iconClass: icon-php
tags: builder,php
supports: php:8.1,php
version: '8.1'
sampleRepo: https://github.com/sclorg/cakephp-ex.git
from:
kind: DockerImage
name: registry.redhat.io/ubi9/php-81:latest
referencePolicy:
type: Local
- name: 8.0-ubi9
annotations:
openshift.io/display-name: PHP 8.0 (UBI 9)
openshift.io/provider-display-name: Red Hat, Inc.
description: Build and run PHP 8.0 applications on UBI 9. For more information
about using this builder image, including OpenShift considerations, see https://github.com/sclorg/s2i-php-container/blob/master/8.0/README.md.
iconClass: icon-php
tags: builder,php
supports: php:8.0,php
version: '8.0'
sampleRepo: https://github.com/sclorg/cakephp-ex.git
from:
kind: DockerImage
name: registry.redhat.io/ubi9/php-80:latest
referencePolicy:
type: Local
- name: 7.4-ubi8
annotations:
openshift.io/display-name: PHP 7.4 (UBI 8)
openshift.io/provider-display-name: Red Hat, Inc.
description: Build and run PHP 7.4 applications on UBI 8. For more information
about using this builder image, including OpenShift considerations, see https://github.com/sclorg/s2i-php-container/blob/master/7.4/README.md.
iconClass: icon-php
tags: builder,php
supports: php:7.4,php
version: '7.4'
sampleRepo: https://github.com/sclorg/cakephp-ex.git
from:
kind: DockerImage
name: registry.redhat.io/ubi8/php-74: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: "php-imagestream-test"
image: "registry.access.redhat.com/ubi9/php-81"
imagePullPolicy: IfNotPresent
command:
- '/bin/bash'
- '-ec'
- >
php -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
Loading