|
@@ -0,0 +1,60 @@
|
|
|
|
+---
|
|
|
|
+apiVersion: v1
|
|
|
|
+kind: List
|
|
|
|
+items:
|
|
|
|
+ - apiVersion: v1
|
|
|
|
+ kind: Namespace
|
|
|
|
+ metadata:
|
|
|
|
+ namespace: ''
|
|
|
|
+ name: test
|
|
|
|
+ - apiVersion: image.openshift.io/v1
|
|
|
|
+ kind: ImageStream
|
|
|
|
+ metadata:
|
|
|
|
+ labels:
|
|
|
|
+ app: nginx-hello
|
|
|
|
+ app.kubernetes.io/component: nginx-hello
|
|
|
|
+ app.kubernetes.io/instance: nginx-hello
|
|
|
|
+ namespace: test
|
|
|
|
+ name: nginx-hello
|
|
|
|
+ spec:
|
|
|
|
+ lookupPolicy:
|
|
|
|
+ local: false
|
|
|
|
+ tags:
|
|
|
|
+ - annotations:
|
|
|
|
+ openshift.io/imported-from: quay.io/rhtuser/nginx-hello:ancient
|
|
|
|
+ from:
|
|
|
|
+ kind: DockerImage
|
|
|
|
+ name: quay.io/rhtuser/nginx-hello:ancient
|
|
|
|
+ importPolicy: {}
|
|
|
|
+ name: ancient
|
|
|
|
+ referencePolicy:
|
|
|
|
+ type: ""
|
|
|
|
+ - apiVersion: apps/v1
|
|
|
|
+ kind: Deployment
|
|
|
|
+ metadata:
|
|
|
|
+ annotations:
|
|
|
|
+ image.openshift.io/triggers: '[{"from":{"kind":"ImageStreamTag","name":"nginx-hello:ancient"},"fieldPath":"spec.template.spec.containers[?(@.name==\"nginx-hello\")].image"}]'
|
|
|
|
+ labels:
|
|
|
|
+ app: nginx-hello
|
|
|
|
+ app.kubernetes.io/component: nginx-hello
|
|
|
|
+ app.kubernetes.io/instance: nginx-hello
|
|
|
|
+ namespace: test
|
|
|
|
+ name: nginx-hello
|
|
|
|
+ spec:
|
|
|
|
+ replicas: 1
|
|
|
|
+ selector:
|
|
|
|
+ matchLabels:
|
|
|
|
+ deployment: nginx-hello
|
|
|
|
+ strategy: {}
|
|
|
|
+ template:
|
|
|
|
+ metadata:
|
|
|
|
+ labels:
|
|
|
|
+ deployment: nginx-hello
|
|
|
|
+ spec:
|
|
|
|
+ containers:
|
|
|
|
+ - image: ' '
|
|
|
|
+ name: nginx-hello
|
|
|
|
+ ports:
|
|
|
|
+ - containerPort: 8080
|
|
|
|
+ protocol: TCP
|
|
|
|
+...
|