github.com/replicatedhq/ship@v0.55.0/integration/failing/init/concourse/expected/base/web-deployment.yaml (about) 1 --- 2 # Source: concourse/templates/web-deployment.yaml 3 apiVersion: extensions/v1beta1 4 kind: Deployment 5 metadata: 6 name: concourse-web 7 labels: 8 app: concourse-web 9 chart: "concourse-3.7.2" 10 release: "concourse" 11 heritage: "Tiller" 12 spec: 13 replicas: 1 14 template: 15 metadata: 16 labels: 17 app: concourse-web 18 release: "concourse" 19 annotations: 20 {} 21 22 spec: 23 serviceAccountName: concourse-web 24 tolerations: 25 [] 26 27 containers: 28 - name: concourse-web 29 image: "concourse/concourse:4.2.2" 30 imagePullPolicy: "IfNotPresent" 31 args: 32 - "web" 33 env: 34 - name: CONCOURSE_BIND_PORT 35 value: "8080" 36 - name: CONCOURSE_ADD_LOCAL_USER 37 valueFrom: 38 secretKeyRef: 39 name: concourse-concourse 40 key: local-users 41 - name: POD_IP 42 valueFrom: 43 fieldRef: 44 fieldPath: status.podIP 45 - name: CONCOURSE_PEER_URL 46 value: "http://$(POD_IP):$(CONCOURSE_BIND_PORT)" 47 - name: CONCOURSE_POSTGRES_HOST 48 value: concourse-postgresql 49 - name: CONCOURSE_POSTGRES_USER 50 value: "concourse" 51 - name: CONCOURSE_POSTGRES_PASSWORD 52 valueFrom: 53 secretKeyRef: 54 name: concourse-postgresql 55 key: postgres-password 56 - name: CONCOURSE_POSTGRES_DATABASE 57 value: "concourse" 58 - name: CONCOURSE_KUBERNETES_IN_CLUSTER 59 value: "true" 60 - name: CONCOURSE_KUBERNETES_NAMESPACE_PREFIX 61 value: concourse- 62 - name: CONCOURSE_SESSION_SIGNING_KEY 63 value: "/concourse-keys/session_signing_key" 64 - name: CONCOURSE_MAIN_TEAM_LOCAL_USER 65 value: "test" 66 - name: CONCOURSE_TSA_BIND_PORT 67 value: "2222" 68 - name: CONCOURSE_TSA_HOST_KEY 69 value: "/concourse-keys/host_key" 70 - name: CONCOURSE_TSA_AUTHORIZED_KEYS 71 value: "/concourse-keys/worker_key.pub" 72 ports: 73 - name: atc 74 containerPort: 8080 75 - name: tsa 76 containerPort: 2222 77 livenessProbe: 78 failureThreshold: 5 79 httpGet: 80 path: /api/v1/info 81 port: atc 82 initialDelaySeconds: 10 83 periodSeconds: 15 84 timeoutSeconds: 3 85 86 readinessProbe: 87 httpGet: 88 path: /api/v1/info 89 port: atc 90 91 resources: 92 requests: 93 cpu: 100m 94 memory: 128Mi 95 96 volumeMounts: 97 - name: concourse-keys 98 mountPath: "/concourse-keys" 99 readOnly: true 100 - name: auth-keys 101 mountPath: "/concourse-auth" 102 readOnly: true 103 affinity: 104 volumes: 105 - name: concourse-keys 106 secret: 107 secretName: concourse-concourse 108 defaultMode: 0400 109 items: 110 - key: host-key 111 path: host_key 112 - key: session-signing-key 113 path: session_signing_key 114 - key: worker-key-pub 115 path: worker_key.pub 116 - name: auth-keys 117 secret: 118 secretName: concourse-concourse 119 defaultMode: 0400 120 items: