OpenShift Image Stream Definition: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
(Created page with "=External= * https://docs.openshift.com/container-platform/latest/rest_api/openshift_v1.html#v1-imagestream =Internal= * OpenShift Concepts * [...")
 
Line 9: Line 9:


=Examples=
=Examples=
<syntaxhighlight lang='yaml'>
apiVersion: v1
kind: ImageStream
metadata:
  name: gogs
  labels:
    app: gogs
spec:
  tags:
  - annotations:
      description: The Gogs git server docker image
      tags: gogs,go,golang
    from:
      kind: DockerImage
      name: openshiftdemos/gogs:0.11.29
    importPolicy: {}
    name: "0.11.29"
</syntaxhighlight>

Revision as of 19:35, 23 November 2017

External

Internal

Examples

apiVersion: v1
kind: ImageStream
metadata:
  name: gogs
  labels:
    app: gogs
spec:
  tags:
  - annotations:
      description: The Gogs git server docker image
      tags: gogs,go,golang
    from:
      kind: DockerImage
      name: openshiftdemos/gogs:0.11.29
    importPolicy: {}
    name: "0.11.29"