From fd26f7b3de2b0318a7ddebf96666c1734f1547c5 Mon Sep 17 00:00:00 2001 From: Marcus Noble Date: Wed, 8 Jul 2020 11:50:11 +0100 Subject: [PATCH] Updated paradoxfox --- manifests/paradoxfox.yaml | 22 ++++++++++++++++++++-- 1 file changed, 20 insertions(+), 2 deletions(-) diff --git a/manifests/paradoxfox.yaml b/manifests/paradoxfox.yaml index 0d522e0..9aa21dd 100644 --- a/manifests/paradoxfox.yaml +++ b/manifests/paradoxfox.yaml @@ -17,6 +17,18 @@ data: .dockerconfigjson: e30= --- apiVersion: v1 +kind: Secret +metadata: + name: etsy-token + namespace: paradoxfox + annotations: + kube-1password: akkchysgrvhawconx63plt3xgy + kube-1password/vault: Kubernetes + kube-1password/secret-text-key: password +stringData: + password: "" +--- +apiVersion: v1 kind: Service metadata: name: paradoxfox @@ -25,7 +37,7 @@ spec: type: ClusterIP ports: - port: 80 - targetPort: 80 + targetPort: 443 name: web selector: app: paradoxfox @@ -52,8 +64,14 @@ spec: image: docker.cluster.fun/private/paradoxfox:latest imagePullPolicy: Always ports: - - containerPort: 80 + - containerPort: 443 name: web + env: + - name: ETSY_TOKEN + valueFrom: + secretKeyRef: + name: etsy-token + key: password resources: limits: memory: 200Mi