Commit 74046e0b authored by Jonathan Schaeffer's avatar Jonathan Schaeffer
Browse files

Initial commit

parents
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: ws-eidastats-deployment
labels:
environment: preprod
app: ws-eidastats
spec:
replicas: 1
selector:
matchLabels:
app: ws-eidastats
template:
metadata:
labels:
app: ws-eidastats
environment: preprod
spec:
containers:
- name: ws-eidastats
image: gricad-registry.univ-grenoble-alpes.fr/osug/resif/resif_docker/ws-eidastats:latest
ports:
- containerPort: 5000
env:
- name: PGPASSWORD
valueFrom:
secretKeyRef:
name: ws-eidastats-preprod-secrets
key: wseidastats
- name: FLASK_ENV
value: development
- name: DBURI
value: postgresql://wseidastats@resif-pgpreprod.u-ga.fr:5432/eidastats
apiVersion: v1
kind: Secret
metadata:
name: ws-eidastats-preprod-secrets
labels:
environment: preprod
app: ws-eidastats
type: Opaque
stringData:
wseidastats: ENC[AES256_GCM,data:JJUFIhDlrhE3yarf1fymmlPcMA4=,iv:KKwmK2aZaTZmqwwzkq7mP/NTXfZUmbUjhcF+lE7OUQg=,tag:5VMPY4enjDN+ruZi3u0QOQ==,type:str]
sops:
kms: []
gcp_kms: []
azure_kv: []
lastmodified: '2021-03-10T04:49:08Z'
mac: ENC[AES256_GCM,data:5mBQ1y3Z/EdrWRCKTbz6vbWHeHbEChBWoRHQ/OJ+DFs4PUdRuu/2sSQKL1UJTPVv1v0NRPnRIsQNNwoH3bzESRA31fTfukjB9DkFqgCSf0uwa9J8l/wcRmbgRUZobIzUwYb1UlWY+rA4Z6gaBCb+pskStoXQYfeJ+2ZIYO/BBYk=,iv:3zz1rx05TVlfGx17zEAiSBelO25EB/TVqFWO3jrwcO4=,tag:f+KzGCG0lfEa4QZUOhvKaA==,type:str]
pgp:
- created_at: '2020-12-07T14:18:53Z'
enc: |
-----BEGIN PGP MESSAGE-----
hQEMA23uPS/3Y9M2AQgAkYchLFAQd3scuUc4dBGQlHZL/oYI5WwDwWkfoEONOdm1
YtF1rNfZNSvyv/hL+xVXiObQ+BhrA5qwshiYLBQ3x4e2TFGThXpBUEOIW2b8Heox
tLbuMzosjzWr2H4UdUNVWlfUEnizYy5cdSs2x+UD/C9MjVGgiu8oHB26brYWsMvS
XjxEUjVCeLK9EQki0fYjVvR/RTVdb7YXb7CSeaNoV8oksvVlIWMlqgIk2E99Qo1R
J3RwFCiw3i5qjRhww/gctMBi1zbU0D8ZTRHfGLTdWDnWNp1m5UTiexzw6/AY+aR9
H82u72zfylkFZNXNNoLrd9KabOHfZ4BDTBsnJHYXVdJeAYgoCZ8OKPk4b6p656sf
I2JvtlZwXt0KGiqQpjWPn8t27vo7ynYy4WHkr/EU0/tQ4P/UtPjYHyn5Xntt7/tC
YnM/ULqPN+1QTtawMX57NCkTULnG1dUPcQ+ZGr6yTw==
=0h32
-----END PGP MESSAGE-----
fp: C83ECA1E0B9D719C7FA2470F18E4F5A58801E669
encrypted_regex: ^(data|stringData)$
version: 3.5.0
---
apiVersion: v1
kind: Service
metadata:
name: ws-eidastats-service
labels:
app: ws-eidastats
environment: preprod
spec:
type: NodePort
ports:
- port: 5000
selector:
app: ws-eidastats
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: ws-eidastats-deployment
labels:
environment: production
app: ws-eidastats
spec:
replicas: 1
selector:
matchLabels:
app: ws-eidastats
template:
metadata:
labels:
app: ws-eidastats
environment: production
spec:
containers:
- name: ws-eidastats
image: gricad-registry.univ-grenoble-alpes.fr/osug/resif/resif_docker/ws-eidastats:latest
ports:
- containerPort: 5000
env:
- name: PGPASSWORD
valueFrom:
secretKeyRef:
name: ws-eidastats-prod-secrets
key: wseidastats
- name: DBURI
value: postgresql://wseidastats@resif-pgprod.u-ga.fr:5432/eidastats
---
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: ws-eidastats-ingress
labels:
app: ws-eidastats
environment: production
annotations:
nginx.ingress.kubernetes.io/rewrite-target: /$1
spec:
rules:
- http:
paths:
- path: /eidaws/statistics/1/(.*)
pathType: Prefix
backend:
service:
name: ws-eidastats-service
port:
number: 5000
apiVersion: v1
kind: Secret
metadata:
name: ws-eidastats-prod-secrets
labels:
environment: production
app: ws-eidastats
type: Opaque
stringData:
wseidastats: ENC[AES256_GCM,data:SCBPCpns9EPH376laNGCkuUAt3U=,iv:COSxhPxtmOkzmtz8SfxLvIyLQQbFZ7m5lp6sFJlx/YA=,tag:fyOk1/ZbQxEqFh8OEXQYJQ==,type:str]
sops:
kms: []
gcp_kms: []
azure_kv: []
lastmodified: '2021-03-10T05:26:19Z'
mac: ENC[AES256_GCM,data:jI/XGCIcpllRL7fCGET7Rkt3fgMa4hGB1P1utr2Ma0XJRHyzzGygbQncLFlLWxZL9f6vKNjbuJCh+C1qXZp186zt1CNvERGnpG0Dfb5nY/n0edkmHwwDy7p2a0eCA/ALtC8AN0LjAdClnUmM+eI86xLCYds/2Ao8iBdFe0z9Q8o=,iv:un4zbgKVJVhVRqVBzISi9iVDhfjWExwXPYJvkkYb2Dw=,tag:TXmnmueSFImcdTjz78QZvg==,type:str]
pgp:
- created_at: '2020-12-07T14:18:53Z'
enc: |
-----BEGIN PGP MESSAGE-----
hQEMA23uPS/3Y9M2AQgAkYchLFAQd3scuUc4dBGQlHZL/oYI5WwDwWkfoEONOdm1
YtF1rNfZNSvyv/hL+xVXiObQ+BhrA5qwshiYLBQ3x4e2TFGThXpBUEOIW2b8Heox
tLbuMzosjzWr2H4UdUNVWlfUEnizYy5cdSs2x+UD/C9MjVGgiu8oHB26brYWsMvS
XjxEUjVCeLK9EQki0fYjVvR/RTVdb7YXb7CSeaNoV8oksvVlIWMlqgIk2E99Qo1R
J3RwFCiw3i5qjRhww/gctMBi1zbU0D8ZTRHfGLTdWDnWNp1m5UTiexzw6/AY+aR9
H82u72zfylkFZNXNNoLrd9KabOHfZ4BDTBsnJHYXVdJeAYgoCZ8OKPk4b6p656sf
I2JvtlZwXt0KGiqQpjWPn8t27vo7ynYy4WHkr/EU0/tQ4P/UtPjYHyn5Xntt7/tC
YnM/ULqPN+1QTtawMX57NCkTULnG1dUPcQ+ZGr6yTw==
=0h32
-----END PGP MESSAGE-----
fp: C83ECA1E0B9D719C7FA2470F18E4F5A58801E669
encrypted_regex: ^(data|stringData)$
version: 3.5.0
---
apiVersion: v1
kind: Service
metadata:
name: ws-eidastats-service
labels:
app: ws-eidastats
environment: production
spec:
type: ClusterIP
ports:
- port: 5000
selector:
app: ws-eidastats
environment: production
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment