Sha256: a05bb2bc9ae7a6f570580627b1b116a7eed05a32da74545c4df753791b4d345d

Contents?: true

Size: 1.33 KB

Versions: 3

Compression:

Stored size: 1.33 KB

Contents

apiVersion: apps/v1
kind: Deployment
metadata:
  name: rubypitaya
  labels:
    app: rubypitaya
spec:
  replicas: 1
  selector:
    matchLabels:
      app: rubypitaya
  template:
    metadata:
      labels:
        app: rubypitaya
    spec:
      containers:
      - name: rubypitaya
        image: git.topfreegames.com:4567/prestes/tech-prototype/rubypitaya:latest
        command: ["bundle", "exec", "rubypitaya", "run"]
        ports:
        - containerPort: 4567
          name: rubypitaya
        env:
          - name: SERVER_NAME
            value: "rubypitaya"
          - name: RUBYPITAYA_ENV
            value: "production"
          - name: NATS_URL
            value: "nats://nats.default.svc.cluster.local:4222"
          - name: ETCD_URL
            value: "http://etcd.default.svc.cluster.local:2379"
          - name: ETCD_PREFIX
            value: "rubypitaya/"
          - name: ETCD_LEASE_SECONDS
            value: "60"
          - name: REDIS_URL
            value: "redis://redis.default.svc.cluster.local:6379"
          - name: DATABASE_HOST
            value: "postgres.default.svc.cluster.local"
          - name: DATABASE_USER
            value: "postgres"
          - name: DATABASE_PASSWORD
            value: ""
          - name: DATABASE_NAME
            value: "ruby_pitaya"
      imagePullSecrets:
      - name: gitlab-registry

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
rubypitaya-1.7.0 ./lib/rubypitaya/app-template/kubernetes/deployment-rubypitaya.yaml
rubypitaya-1.6.2 ./lib/rubypitaya/app-template/kubernetes/deployment-rubypitaya.yaml
rubypitaya-1.6.1 ./lib/rubypitaya/app-template/kubernetes/deployment-rubypitaya.yaml