Skip to content

Commit

Permalink
add actual, current, s390x/ppc64le content
Browse files Browse the repository at this point in the history
  • Loading branch information
gabemontero committed Jan 24, 2020
1 parent 67df374 commit a352d7d
Show file tree
Hide file tree
Showing 96 changed files with 23,512 additions and 0 deletions.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

@@ -0,0 +1,52 @@
{
"apiVersion": "v1",
"kind": "ImageStream",
"metadata": {
"annotations": {
"openshift.io/display-name": "Go"
},
"name": "golang"
},
"spec": {
"tags": [
{
"annotations": {
"description": "Build and run Go applications on RHEL 7. For more information about using this builder image, including OpenShift considerations, see https://github.com/sclorg/golang-container/blob/master/README.md.\n\nWARNING: By selecting this tag, your application will automatically update to use the latest version of Go available on OpenShift, including major version updates.",
"iconClass": "icon-go-gopher",
"openshift.io/display-name": "Go (Latest)",
"openshift.io/provider-display-name": "Red Hat, Inc.",
"sampleRepo": "https://github.com/sclorg/golang-ex.git",
"supports": "golang",
"tags": "builder,golang,go"
},
"from": {
"kind": "ImageStreamTag",
"name": "1.11.5"
},
"name": "latest",
"referencePolicy": {
"type": "Local"
}
},
{
"annotations": {
"description": "Build and run Go applications on RHEL 7. For more information about using this builder image, including OpenShift considerations, see https://github.com/sclorg/golang-container/blob/master/README.md.\n\nWARNING: By selecting this tag, your application will automatically update to use the latest version of Go available on OpenShift, including major version updates.",
"iconClass": "icon-go-gopher",
"openshift.io/display-name": "Go (1.11.5)",
"openshift.io/provider-display-name": "Red Hat, Inc.",
"sampleRepo": "https://github.com/sclorg/golang-ex.git",
"supports": "golang",
"tags": "builder,golang,go"
},
"from": {
"kind": "DockerImage",
"name": "registry.redhat.io/devtools/go-toolset-rhel7:1.11.5"
},
"name": "1.11.5",
"referencePolicy": {
"type": "Local"
}
}
]
}
}
@@ -0,0 +1,53 @@
{
"apiVersion": "v1",
"kind": "ImageStream",
"metadata": {
"annotations": {
"openshift.io/display-name": "Apache HTTP Server (httpd)"
},
"name": "httpd"
},
"spec": {
"tags": [
{
"annotations": {
"description": "Build and serve static content via Apache HTTP Server (httpd) on RHEL 7. For more information about using this builder image, including OpenShift considerations, see https://github.com/sclorg/httpd-container/blob/master/2.4/README.md.\n\nWARNING: By selecting this tag, your application will automatically update to use the latest version of Httpd available on OpenShift, including major version updates.",
"iconClass": "icon-apache",
"openshift.io/display-name": "Apache HTTP Server (Latest)",
"openshift.io/provider-display-name": "Red Hat, Inc.",
"sampleRepo": "https://github.com/sclorg/httpd-ex.git",
"supports": "httpd",
"tags": "builder,httpd"
},
"from": {
"kind": "ImageStreamTag",
"name": "2.4"
},
"name": "latest",
"referencePolicy": {
"type": "Local"
}
},
{
"annotations": {
"description": "Build and serve static content via Apache HTTP Server (httpd) 2.4 on RHEL 7. For more information about using this builder image, including OpenShift considerations, see https://github.com/sclorg/httpd-container/blob/master/2.4/README.md.",
"iconClass": "icon-apache",
"openshift.io/display-name": "Apache HTTP Server 2.4",
"openshift.io/provider-display-name": "Red Hat, Inc.",
"sampleRepo": "https://github.com/sclorg/httpd-ex.git",
"supports": "httpd",
"tags": "builder,httpd",
"version": "2.4"
},
"from": {
"kind": "DockerImage",
"name": "registry.redhat.io/rhscl/httpd-24-rhel7"
},
"name": "2.4",
"referencePolicy": {
"type": "Local"
}
}
]
}
}
@@ -0,0 +1,269 @@
{
"apiVersion": "v1",
"kind": "Template",
"labels": {
"app": "httpd-example",
"template": "httpd-example"
},
"message": "The following service(s) have been created in your project: ${NAME}.\n\nFor more information about using this template, including OpenShift considerations, see https://github.com/sclorg/httpd-ex/blob/master/README.md.",
"metadata": {
"annotations": {
"description": "An example Apache HTTP Server (httpd) application that serves static content. For more information about using this template, including OpenShift considerations, see https://github.com/sclorg/httpd-ex/blob/master/README.md.",
"iconClass": "icon-apache",
"openshift.io/display-name": "Apache HTTP Server",
"openshift.io/documentation-url": "https://github.com/sclorg/httpd-ex",
"openshift.io/long-description": "This template defines resources needed to develop a static application served by Apache HTTP Server (httpd), including a build configuration and application deployment configuration.",
"openshift.io/provider-display-name": "Red Hat, Inc.",
"openshift.io/support-url": "https://access.redhat.com",
"tags": "quickstart,httpd",
"template.openshift.io/bindable": "false"
},
"name": "httpd-example"
},
"objects": [
{
"apiVersion": "v1",
"kind": "Service",
"metadata": {
"annotations": {
"description": "Exposes and load balances the application pods"
},
"name": "${NAME}"
},
"spec": {
"ports": [
{
"name": "web",
"port": 8080,
"targetPort": 8080
}
],
"selector": {
"name": "${NAME}"
}
}
},
{
"apiVersion": "v1",
"kind": "Route",
"metadata": {
"name": "${NAME}"
},
"spec": {
"host": "${APPLICATION_DOMAIN}",
"to": {
"kind": "Service",
"name": "${NAME}"
}
}
},
{
"apiVersion": "v1",
"kind": "ImageStream",
"metadata": {
"annotations": {
"description": "Keeps track of changes in the application image"
},
"name": "${NAME}"
}
},
{
"apiVersion": "v1",
"kind": "BuildConfig",
"metadata": {
"annotations": {
"description": "Defines how to build the application",
"template.alpha.openshift.io/wait-for-ready": "true"
},
"name": "${NAME}"
},
"spec": {
"output": {
"to": {
"kind": "ImageStreamTag",
"name": "${NAME}:latest"
}
},
"source": {
"contextDir": "${CONTEXT_DIR}",
"git": {
"ref": "${SOURCE_REPOSITORY_REF}",
"uri": "${SOURCE_REPOSITORY_URL}"
},
"type": "Git"
},
"strategy": {
"sourceStrategy": {
"from": {
"kind": "ImageStreamTag",
"name": "httpd:2.4",
"namespace": "${NAMESPACE}"
}
},
"type": "Source"
},
"triggers": [
{
"type": "ImageChange"
},
{
"type": "ConfigChange"
},
{
"github": {
"secret": "${GITHUB_WEBHOOK_SECRET}"
},
"type": "GitHub"
},
{
"generic": {
"secret": "${GENERIC_WEBHOOK_SECRET}"
},
"type": "Generic"
}
]
}
},
{
"apiVersion": "v1",
"kind": "DeploymentConfig",
"metadata": {
"annotations": {
"description": "Defines how to deploy the application server",
"template.alpha.openshift.io/wait-for-ready": "true"
},
"name": "${NAME}"
},
"spec": {
"replicas": 1,
"selector": {
"name": "${NAME}"
},
"strategy": {
"type": "Rolling"
},
"template": {
"metadata": {
"labels": {
"name": "${NAME}"
},
"name": "${NAME}"
},
"spec": {
"containers": [
{
"env": [],
"image": " ",
"livenessProbe": {
"httpGet": {
"path": "/",
"port": 8080
},
"initialDelaySeconds": 30,
"timeoutSeconds": 3
},
"name": "httpd-example",
"ports": [
{
"containerPort": 8080
}
],
"readinessProbe": {
"httpGet": {
"path": "/",
"port": 8080
},
"initialDelaySeconds": 3,
"timeoutSeconds": 3
},
"resources": {
"limits": {
"memory": "${MEMORY_LIMIT}"
}
}
}
]
}
},
"triggers": [
{
"imageChangeParams": {
"automatic": true,
"containerNames": [
"httpd-example"
],
"from": {
"kind": "ImageStreamTag",
"name": "${NAME}:latest"
}
},
"type": "ImageChange"
},
{
"type": "ConfigChange"
}
]
}
}
],
"parameters": [
{
"description": "The name assigned to all of the frontend objects defined in this template.",
"displayName": "Name",
"name": "NAME",
"required": true,
"value": "httpd-example"
},
{
"description": "The OpenShift Namespace where the ImageStream resides.",
"displayName": "Namespace",
"name": "NAMESPACE",
"required": true,
"value": "openshift"
},
{
"description": "Maximum amount of memory the container can use.",
"displayName": "Memory Limit",
"name": "MEMORY_LIMIT",
"required": true,
"value": "512Mi"
},
{
"description": "The URL of the repository with your application source code.",
"displayName": "Git Repository URL",
"name": "SOURCE_REPOSITORY_URL",
"required": true,
"value": "https://github.com/sclorg/httpd-ex.git"
},
{
"description": "Set this to a branch name, tag or other ref of your repository if you are not using the default branch.",
"displayName": "Git Reference",
"name": "SOURCE_REPOSITORY_REF"
},
{
"description": "Set this to the relative path to your project if it is not in the root of your repository.",
"displayName": "Context Directory",
"name": "CONTEXT_DIR"
},
{
"description": "The exposed hostname that will route to the httpd service, if left blank a value will be defaulted.",
"displayName": "Application Hostname",
"name": "APPLICATION_DOMAIN",
"value": ""
},
{
"description": "Github trigger secret. A difficult to guess string encoded as part of the webhook URL. Not encrypted.",
"displayName": "GitHub Webhook Secret",
"from": "[a-zA-Z0-9]{40}",
"generate": "expression",
"name": "GITHUB_WEBHOOK_SECRET"
},
{
"description": "A secret string used to configure the Generic webhook.",
"displayName": "Generic Webhook Secret",
"from": "[a-zA-Z0-9]{40}",
"generate": "expression",
"name": "GENERIC_WEBHOOK_SECRET"
}
]
}

0 comments on commit a352d7d

Please sign in to comment.