sno1.yml 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. ---
  2. apiVersion: v1
  3. kind: List
  4. items:
  5. - apiVersion: v1
  6. kind: Namespace
  7. metadata:
  8. namespace: ''
  9. name: test
  10. - apiVersion: image.openshift.io/v1
  11. kind: ImageStream
  12. metadata:
  13. labels:
  14. app: nginx-hello
  15. app.kubernetes.io/component: nginx-hello
  16. app.kubernetes.io/instance: nginx-hello
  17. namespace: test
  18. name: nginx-hello
  19. spec:
  20. lookupPolicy:
  21. local: false
  22. tags:
  23. - annotations:
  24. openshift.io/imported-from: quay.io/rhtuser/nginx-hello:ancient
  25. from:
  26. kind: DockerImage
  27. name: quay.io/rhtuser/nginx-hello:ancient
  28. importPolicy: {}
  29. name: ancient
  30. referencePolicy:
  31. type: ""
  32. - apiVersion: apps/v1
  33. kind: Deployment
  34. metadata:
  35. annotations:
  36. image.openshift.io/triggers: '[{"from":{"kind":"ImageStreamTag","name":"nginx-hello:ancient"},"fieldPath":"spec.template.spec.containers[?(@.name==\"nginx-hello\")].image"}]'
  37. labels:
  38. app: nginx-hello
  39. app.kubernetes.io/component: nginx-hello
  40. app.kubernetes.io/instance: nginx-hello
  41. namespace: test
  42. name: nginx-hello
  43. spec:
  44. replicas: 1
  45. selector:
  46. matchLabels:
  47. deployment: nginx-hello
  48. strategy: {}
  49. template:
  50. metadata:
  51. labels:
  52. deployment: nginx-hello
  53. spec:
  54. containers:
  55. - image: ' '
  56. name: nginx-hello
  57. ports:
  58. - containerPort: 8080
  59. protocol: TCP
  60. ...