Commit 1828a55d authored by Jonathan Schaeffer's avatar Jonathan Schaeffer
Browse files

kustomize overlays

parent 70d9f52e
---
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
name: ws-logstodb-ingress
annotations:
nginx.org/rewrites: "serviceName=ws-logstodb-service-preprod rewrite=/;"
spec:
rules:
- host: preprod.ws.resif.fr
http:
paths:
- path: /resif-private/ws-logstodb/1
backend:
serviceName: ws-logstodb-preprod
servicePort: 8000
---
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
name: ws-logstodb-ingress
annotations:
nginx.org/rewrites: "serviceName=ws-logstodb-service-prod rewrite=/;"
spec:
rules:
- host: resif-kprod.u-ga.fr
http:
paths:
- path: /ws-logstodb/1
backend:
serviceName: ws-logstodb-prod
servicePort: 8000
nameSuffix: -preprod
commonLabels:
environment: preprod
bases:
- ../../base
images:
- name: ws-logstodb-image-to-kustomize
newName: gricad-registry.univ-grenoble-alpes.fr/osug/resif/ws-logstodb/ws-logstodb
newTag: fc496249
patches:
- ws-logstodb.yaml
- map.yaml
- ingress.yaml
apiVersion: v1
kind: ConfigMap
metadata:
name: ws-logstodb-map
data:
database_uri: postgresql://resifstats@resif-pgpreprod.u-ga.fr:5432/resifstats
apiVersion: v1
kind: Secret
metadata:
name: ws-logstodb-secrets
type: Opaque
stringData:
resifstatsPgpassword: ENC[AES256_GCM,data:e1VN3Cuyj/Gsg28HN8KiRQ==,iv:+do7XwIrjkoRX7/YbPoODpF1LjkecvULmu9E19Ps1GM=,tag:CGReeJTKKx2acnSJt5jraQ==,type:str]
sops:
kms: []
gcp_kms: []
azure_kv: []
lastmodified: '2020-08-13T14:16:29Z'
mac: ENC[AES256_GCM,data:2aSPXdZPjIvSOoSPiskFcRBxNAY1faNavtStMObqsDmXjHDgfSjpbFRSmKYIMD+/zSkB5C8VaTIYsI+XpoG4NbnqsNzlWUibuaDWzkPuaQnQ2EvxiHWy7snEzbigc+jqkNaJGL9jnw2Ru2VbdpYH8a+wnEsy2WCmV9rwuKrJK7o=,iv:4MkScbf5YfKWhQOD5GCK3fTE6u2yD/Sz93k1NdPjExY=,tag:ck95tfGHCEL/JzsSzu6rHw==,type:str]
pgp:
- created_at: '2020-06-19T14:00:02Z'
enc: |
-----BEGIN PGP MESSAGE-----
hQEMA23uPS/3Y9M2AQgAjx0vTXHspE9LneeGi/ev/xk0A8yi3DxgJsZVtEsbSQwL
5ZijJ0wI/p0y2HzPlhl+w9INKcMQUxGo2Z184AIEwWFL8TbN97x700xiAV2gLTSq
yapwXwGloZZMCV6oWmktTA3IPeeLmGHpaR4lY4IR8iBAJophG9tc8C73xRQTzWec
ev3C+wtLnTlxpUhZj2foZ7B2ARAlE2LWqT2I3wp7d1ZJYmSrdJpltarMaJiw18X8
lpmJ/SmTO8ITRrPvtxZfBBlzNAAjbC0ed8Qs3RUHa1PSh/VeiOnefkz0lBQNKxvZ
JknwRw2AsGW0KirSLk9av7djUmasbf6mj+n8Tvi2J9JeAU4eCVRTc/AP+UFq5Ynn
yi79EnUAbM+19apxYkYQME4i2FrhnUtlcdrRNvwIBz1DOa12Z/8W7gdrpwFlM9mK
CjptN6pgRXNnV7yegPX8cJCGaoWB+TPpKheAwE3CMQ==
=CH3Z
-----END PGP MESSAGE-----
fp: C83ECA1E0B9D719C7FA2470F18E4F5A58801E669
encrypted_regex: ^(data|stringData)$
version: 3.5.0
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: ws-logstodb-deployment
spec:
template:
spec:
containers:
- name: ws-logstodb
env:
- name: PGPASSWORD
valueFrom:
secretKeyRef:
name: ws-logstodb-secrets-preprod
Markdown is supported
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