Skip to content

Commit e2500af

Browse files
authored
Merge pull request #3 from Pseudo-Lab/codex/fix-initial-gitops-rollout-issue
fix(experiment-platform): add GHCR pull auth for prod
2 parents a9bc99d + 6cf4ed1 commit e2500af

File tree

4 files changed

+21
-0
lines changed

4 files changed

+21
-0
lines changed

services/experiment-platform/base/backend-deployment.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ spec:
1414
app: experiment-platform
1515
component: backend
1616
spec:
17+
imagePullSecrets:
18+
- name: ghcr-creds
1719
containers:
1820
- name: backend
1921
image: ghcr.io/pseudo-lab/experiment-platform-backend

services/experiment-platform/base/frontend-deployment.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ spec:
1414
app: experiment-platform
1515
component: frontend
1616
spec:
17+
imagePullSecrets:
18+
- name: ghcr-creds
1719
containers:
1820
- name: frontend
1921
image: ghcr.io/pseudo-lab/experiment-platform-frontend
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
---
2+
apiVersion: bitnami.com/v1alpha1
3+
kind: SealedSecret
4+
metadata:
5+
creationTimestamp: null
6+
name: ghcr-creds
7+
namespace: experiment-platform
8+
spec:
9+
encryptedData:
10+
.dockerconfigjson: AgAgKGTVwwuYXX6NdNXUiV85w8c97lQImWaIWwgFSsail1dtqqCe8f2GjKP5KN7Qm0W5d2BgRnu6ls3nl3ZKeue6b0JjRktL+Rw+r1xb35tpM1b4UakJCWomyMKwcoqJvrQ+wXBOLDPboGk/J+Cvx69PwgGuclBNWN7UtqB4lfrprbjmESujYCfSBF8xVATueAV7EY8NSym5ClVBAem7/uuEVRvl0GxL8DgPfI9/kJT8pbIcvC5+oDEcJwNXvSMDl7OsS1hskYNzZ70vcKfNoxd3zAtPhxiGsc7WC8EROpD3e4nIkYoAqODURl3xqw590W9AiGUj6/TA3Y8qAWadG/SOaGh2zJ9n3ONd9p3WiaCwuUgfo3bbeTaOoEo6HeGZllT6QeNPc7GOlX+vqjPuIzXVq85Flt7QC2RscQoM4lG+DJLZlgUeipxui40cZYihy1yw1OL9izQJMYehDeDIc4XPMqclG9/IQIjlW0Uy3guu5CPvSwxvTVuZwh95LRoagzraWpG8yFYNJocEG9/f946oLjIeKpX/pYoYMyIOyBVcxkAewsRakt1FVgM0W3qaIcNsvlNMwfFwyhRzkdbYm7mVgAZzHC+TGuu7AAlsW4zDCSnOFagHNUNuulsTmyYokKeF2wzS4yEoszCMAgJT6qQxs1yJ6sWf3arrTLXL5moHNe7om4FiylIDgTHIIqtqcOROSLUTTM47aQpcmca7dOSTz0T/pSCKdrxr9ompaLvtq0GWZm06mxIXYmp7Uux5ArNWCPhsh1r1Oaa+ld95BA7NWD0QZl8JyhMF+x+1hxDJ3dOS96+md0BlB5DYGRAtZ4imNZfQz2s9XrK/6/qU65TvfBHrm7G/nKRTCefP3T+lg1sSl7PXJMe94jySTg0XevVGF+HSAVhKaKoj4Rjhrf9OT0nk46936W0MjOJ9epocRNjb
11+
template:
12+
metadata:
13+
creationTimestamp: null
14+
name: ghcr-creds
15+
namespace: experiment-platform
16+
type: kubernetes.io/dockerconfigjson

services/experiment-platform/overlays/prod/kustomization.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ resources:
55
- ../../base
66
- namespace.yaml
77
- ingress.yaml
8+
- ghcr-pull-secret.yaml
89
commonLabels:
910
environment: production
1011
project: experiment-platform

0 commit comments

Comments
 (0)