Sha256: ffc1b6f7ca47cb2f6684189e7d0ae93fa2521a6e8b2b534405119b690cbd1294
Contents?: true
Size: 1.08 KB
Versions: 6
Compression:
Stored size: 1.08 KB
Contents
--- apiVersion: apps/v1beta2 kind: Deployment metadata: name: postgres labels: app: rails-kube-backend spec: replicas: 1 selector: matchLabels: app: rails-kube-backend tier: database template: metadata: name: postgres labels: app: rails-kube-backend tier: database spec: volumes: - name: postgres-pv persistentVolumeClaim: claimName: postgres-pvc containers: - name: postgres image: postgres:9.6-alpine env: - name: POSTGRES_USER valueFrom: secretKeyRef: name: "db-user" key: "username" - name: POSTGRES_PASSWORD valueFrom: secretKeyRef: name: "db-user-pass" key: "password" - name: POSTGRES_DB value: "rails-kube-demo_production" - name: PGDATA value: "/var/lib/postgresql/data/pgdata" ports: - containerPort: 5432 volumeMounts: - mountPath: "/var/lib/postgresql/data" name: postgres-pv
Version data entries
6 entries across 6 versions & 1 rubygems