Commit d0cd6e9
committed
Add in-cluster registry proxy to ace-installer chart
Add a CNCF Distribution (registry:3) pull-through cache to the ace-installer
chart via regproxy.enabled (default true). It proxies the upstream registry
(ghcr.io by default) so ghcr.io/appscode-charts images are served from within
the cluster.
Also add an appscode-wizards-oci HelmRepository, used by the platform UI
deploy wizards. It defaults to the same upstream as appscode-charts-oci
(oci://ghcr.io/appscode-charts). When regproxy is enabled, its URL is
rewritten to the in-cluster proxy service so wizard chart pulls are served
from the cache. The proxy serves plain HTTP, so the repository is marked
insecure in that case.
The cache image is ghcr.io/appscode-images/registry:3.
Cache disk management:
- regproxy.ttl (default 72h) bounds disk usage; the pull-through cache purges
entries older than the ttl and has no capacity-based eviction.
- The cache PVC storage class falls back to the ACE data/backup storage class
(helm.releases.ace.values.global.infra.storageClass.name) when no explicit
regproxy.persistence.storageClass is set, then to the cluster default.
Document that charts/ace-installer-certified and ace-installer-certified-crds
are generated from charts/ace-installer via chart-packer and must not be
edited directly.
Signed-off-by: Tamal Saha <tamal@appscode.com>1 parent 802ccc5 commit d0cd6e9
32 files changed
Lines changed: 2715 additions & 312 deletions
File tree
- apis/installer/v1alpha1
- catalog
- charts
- ace-installer-certified-crds
- templates
- ace-installer-certified
- resourcetemplates/repositories
- templates
- featuresets/opscenter-core
- presets
- regproxy
- ace-installer
- resourcetemplates/repositories
- templates
- featuresets/opscenter-core
- presets
- regproxy
- opscenter-features/templates/repositories
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
47 | | - | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
48 | 55 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
61 | 66 | | |
62 | 67 | | |
63 | 68 | | |
64 | 69 | | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
65 | 120 | | |
66 | 121 | | |
67 | 122 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
3 | 4 | | |
4 | 5 | | |
5 | 6 | | |
| |||
0 commit comments