neiam
/apollos_crib
It's Apollo's Crib
public · Issues · Pulls 1 · Labels · Forks · Compare · Actions failure · Badges · Packages
⭐
Log in to mark this repository.
Merge remote-tracking branch 'origin/master'
14f18ca · gmorell · 2023-02-20 15:23
Files changed
modified
app.yml
+6
−9
@@ -68,11 +68,8 @@ spec:
| 68 | 68 | key: secret_key_base |
| 69 | 69 | |
| 70 | 70 | - name: POSTGRES_HOST |
| 71 | − valueFrom: | |
| 72 | − secretKeyRef: | |
| 73 | − name: postgres-auth | |
| 74 | − key: host | |
| 75 | − | |
| 71 | + value: postgres-apollos-crib.demo | |
| 72 | + | |
| 76 | 73 | - name: POSTGRES_PORT |
| 77 | 74 | valueFrom: |
| 78 | 75 | secretKeyRef: |
@@ -82,13 +79,13 @@ spec:
| 82 | 79 | - name: POSTGRES_USER |
| 83 | 80 | valueFrom: |
| 84 | 81 | secretKeyRef: |
| 85 | − name: postgres-auth | |
| 86 | − key: user | |
| 82 | + name: postgres-apollos-crib-auth | |
| 83 | + key: username | |
| 87 | 84 | |
| 88 | 85 | - name: POSTGRES_PASSWORD |
| 89 | 86 | valueFrom: |
| 90 | 87 | secretKeyRef: |
| 91 | − name: postgres-auth | |
| 88 | + name: postgres-apollos-crib-auth | |
| 92 | 89 | key: password |
| 93 | 90 | |
| 94 | 91 | - name: AMQP_USER |
@@ -154,7 +151,7 @@ metadata:
| 154 | 151 | namespace: apollos-crib |
| 155 | 152 | annotations: |
| 156 | 153 | cert-manager.io/cluster-issuer: letsencrypt-prod |
| 157 | − kubernetes.io/ingress.class: "nginx" | |
| 154 | + kubernetes.io/ingress.class: "traefik" | |
| 158 | 155 | spec: |
| 159 | 156 | tls: |
| 160 | 157 | - hosts: |
added
pg.yml
+16
−0
@@ -0,0 +1,16 @@
| 1 | +apiVersion: kubedb.com/v1alpha2 | |
| 2 | +kind: Postgres | |
| 3 | +metadata: | |
| 4 | + name: postgres-apollos-crib | |
| 5 | + namespace: demo | |
| 6 | +spec: | |
| 7 | + version: "14.1-bullseye-postgis" | |
| 8 | + storageType: Durable | |
| 9 | + storage: | |
| 10 | + storageClassName: "openebs-zfspv" | |
| 11 | + accessModes: | |
| 12 | + - ReadWriteOnce | |
| 13 | + resources: | |
| 14 | + requests: | |
| 15 | + storage: 30Gi | |
| 16 | + terminationPolicy: DoNotTerminate |
modified
rabbit.yml
+13
−0
@@ -21,3 +21,16 @@ spec:
| 21 | 21 | auth_http.vhost_path = http://apollos-crib-hermes-svc:80/auth/vhost |
| 22 | 22 | auth_http.resource_path = http://apollos-crib-hermes-svc:80/auth/resource |
| 23 | 23 | auth_http.topic_path = http://apollos-crib-hermes-svc:80/auth/topic |
| 24 | +--- | |
| 25 | +apiVersion: v1 | |
| 26 | +kind: Service | |
| 27 | +metadata: | |
| 28 | + name: apollos-crib-mqtt-svc | |
| 29 | + namespace: apollos-crib | |
| 30 | +spec: | |
| 31 | + ports: | |
| 32 | + - port: 1883 | |
| 33 | + targetPort: 1883 | |
| 34 | + protocol: TCP | |
| 35 | + selector: | |
| 36 | + app.kubernetes.io/name: rabbitmq |