Commit 9f48c00
committed
feat(apps/prod/publisher): add delivery-config ConfigMap and bump image tags (#1752)
This pull request introduces support for injecting a delivery
configuration file into the publisher deployments for both production
and staging environments. The main changes include adding a `ConfigMap`
for delivery configuration, updating deployment manifests to mount this
config, and updating application configuration to reference the new file
and mirror names.
**ConfigMap and Deployment Updates:**
* Added a `configMapGenerator` for `delivery-config` in
`kustomization.yaml`, which sources the configuration from
`config.json`. This allows for centralized management of delivery config
data.
* Updated both `release-prod-mirror.yaml` and
`release-staging-mirror.yaml` to mount the `delivery-config` ConfigMap
as a volume at `/etc/config/delivery-config.yaml`, ensuring the
application can read its delivery configuration at runtime.
[[1]](diffhunk://#diff-a743ba791ced94bd1be5ae9178788eda89579a42e5deb14e63c98148185bbf44R42-R53)
[[2]](diffhunk://#diff-6b8d2314aa062e2bcd25495e358ca973d789ea7113fb0f9e539d0e41913e32bcR44-R55)
* Updated the image tag for publisher deployments to a newer version in
both production and staging manifests.
[[1]](diffhunk://#diff-a743ba791ced94bd1be5ae9178788eda89579a42e5deb14e63c98148185bbf44L28-R28)
[[2]](diffhunk://#diff-6b8d2314aa062e2bcd25495e358ca973d789ea7113fb0f9e539d0e41913e32bcL28-R28)
**Application Configuration Updates:**
* Modified both production and staging external secrets configuration
files to reference the new delivery config file path in the `tiup`
service section.
[[1]](diffhunk://#diff-c25037403eaf37c2a6e5cb413a64753299d6021a7f61cac12508325ecc6042b0R26-R28)
[[2]](diffhunk://#diff-97f2467e2edadfe8bc005756c9e68c8f0b8867a0c7b51cd35349c36f043534beR26-R28)
* Added explicit `mirror_name` values for both environments in the
`tiup` options, improving clarity and environment-specific
configuration.
[[1]](diffhunk://#diff-c25037403eaf37c2a6e5cb413a64753299d6021a7f61cac12508325ecc6042b0R38)
[[2]](diffhunk://#diff-97f2467e2edadfe8bc005756c9e68c8f0b8867a0c7b51cd35349c36f043534beR38)1 parent 6065a51 commit 9f48c00
File tree
10 files changed
+72
-5
lines changed- apps/prod2/publisher
- pre
- external-secrets
- releases
- clusters/prod2
10 files changed
+72
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
8 | | - | |
| 7 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
26 | 29 | | |
27 | 30 | | |
28 | 31 | | |
| |||
32 | 35 | | |
33 | 36 | | |
34 | 37 | | |
| 38 | + | |
35 | 39 | | |
36 | 40 | | |
37 | 41 | | |
| |||
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
26 | 29 | | |
27 | 30 | | |
28 | 31 | | |
| |||
32 | 35 | | |
33 | 36 | | |
34 | 37 | | |
| 38 | + | |
35 | 39 | | |
36 | 40 | | |
37 | | - | |
| 41 | + | |
38 | 42 | | |
39 | 43 | | |
40 | 44 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
5 | 6 | | |
6 | 7 | | |
| 8 | + | |
7 | 9 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
Lines changed: 7 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
| 28 | + | |
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
42 | 45 | | |
43 | 46 | | |
44 | 47 | | |
45 | 48 | | |
46 | 49 | | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
47 | 53 | | |
48 | 54 | | |
49 | 55 | | |
| |||
Lines changed: 7 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
| 28 | + | |
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
44 | 47 | | |
45 | 48 | | |
46 | 49 | | |
47 | 50 | | |
48 | 51 | | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
49 | 55 | | |
50 | 56 | | |
51 | 57 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
0 commit comments