You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

31 lines
656 B

  1. apiVersion: extensions/v1beta1
  2. kind: Deployment
  3. metadata:
  4. name: ocelot
  5. spec:
  6. paused: true
  7. template:
  8. metadata:
  9. labels:
  10. app: eshop
  11. component: ocelot
  12. spec:
  13. containers:
  14. - name: ocelot
  15. image: eshop/ocelotapigw
  16. imagePullPolicy: Always
  17. ports:
  18. - containerPort: 80
  19. volumeMounts:
  20. - name: config
  21. mountPath: /app/configuration
  22. volumes:
  23. - name: config
  24. configMap:
  25. name: ocelot
  26. items:
  27. - key: configuration.json
  28. path: configuration.json
  29. imagePullSecrets:
  30. - name: registry-key