Skip to content

Commit 964c6f8

Browse files
committed
feat(homepage): add ghcr pull secret and configure imagePullSecrets
1 parent d5c536e commit 964c6f8

File tree

3 files changed

+23
-0
lines changed

3 files changed

+23
-0
lines changed

services/homepage/base/deployment.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ spec:
1616
app: homepage
1717
component: backend
1818
spec:
19+
imagePullSecrets:
20+
- name: ghcr-creds
1921
containers:
2022
- name: api
2123
image: ghcr.io/pseudo-lab/devfactory-homepage-backend # Tag will be managed by Kustomize/CI
@@ -51,6 +53,8 @@ spec:
5153
app: homepage
5254
component: frontend
5355
spec:
56+
imagePullSecrets:
57+
- name: ghcr-creds
5458
containers:
5559
- name: frontend
5660
image: ghcr.io/pseudo-lab/devfactory-homepage-frontend # Tag will be managed by Kustomize/CI
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
---
2+
apiVersion: bitnami.com/v1alpha1
3+
kind: SealedSecret
4+
metadata:
5+
annotations:
6+
sealedsecrets.bitnami.com/cluster-wide: "true"
7+
creationTimestamp: null
8+
name: ghcr-creds
9+
spec:
10+
encryptedData:
11+
.dockerconfigjson: AgAC20R9FUZ24WFFH6I7bT6eDeEJnwueGsduII6HcRSFrws7RbpII8yPADy40E27Z090Yv8HQO4UhPucTzVKM6ukwI1HRxJIdPZFOGn5DAQj1yCQIpqdsTEomEdMcm2TVRN1NzBI2//93Q+ynRaixlL+Dr67JpFcqVdjJ78o8B2fh5Im6pTZVlo6E2JlKMkAa36dB8tJHoTBiZAEJIxTGELaRAVn081+E3iS5QvEOfqjeOohWGuQyKxphTCznX4iU8vQnuMW2rDSK8FD3ShN5pHW6W7d5SU5oPjuYYOdgLsq+Cp8AOVT3pMDv9kbfLHwD6fTnxik5P7aAPLioo7qM9YZicX4E7a2riEl56iRolmcbtOPOYm8AsxGtSP1JqoUzzVYDiWytmeHgwE5IY3EGmCmQQUrcPGJhfzNpVZ/d585L916VkDsmjl5iykutVhQFy5XI1LhFt8MlFA7TtZUPQG+YqkBUUC1VuB88wvSjpYfgL/kcnptyQ7To9TG99A7pboL7jQcEBWNrbPbCx5XGPRrXPC7eYk+ndamaulNEJj4Lms2X0imyr9BhYlNPJGgBZP80uaQkZf5IlS25dGwhkVkA0GHLlDcvD/iqgqxxrGa6+0xl/0VO5GuNEC8hEujvRe/Bf+Rq1wc/9vSISFWF8ljTY46AkBdQUkIKv7rA0VWAd8WXQ40C3yruu7sYg5Gy+0gLPxF92ysTLm9gJmH6D+u7r+xaqskDYMTvlGjDQqyU4Iquxo6zFAjT3P+jtW6xeqT1Pqf3CkjslwNW8IYuc6vRBghxhDQNIz3SRtC3uQuMOlM79Bcg/ByrO20K0ISaM0nydBhUoEJRcR7vjeMTaMTPRnmGDr6JiCS2LJrdLAvVEeSn9vTLVNjQThCwPvAnHV6v5qWr5tnKlo5BSbddwbe/8r/ki+P658JVHzKA6wGiKzyDWYzu54H
12+
template:
13+
metadata:
14+
annotations:
15+
sealedsecrets.bitnami.com/cluster-wide: "true"
16+
creationTimestamp: null
17+
name: ghcr-creds
18+
type: kubernetes.io/dockerconfigjson

services/homepage/overlays/prod/kustomization.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ resources:
77
- namespace.yaml
88
- ingress.yaml
99
- sealed-secret.yaml
10+
- ghcr-pull-secret.yaml
1011

1112
commonLabels:
1213
environment: production

0 commit comments

Comments
 (0)