Skip to content

Commit 0524cd3

Browse files
authored
deploy(referrers): add public index configuration (#444)
Signed-off-by: Miguel Martinez Trivino <[email protected]>
1 parent 3ef969c commit 0524cd3

File tree

4 files changed

+21
-9
lines changed

4 files changed

+21
-9
lines changed

deployment/chainloop/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: Chainloop is an open source software supply chain control plane, a
44

55
type: application
66
# Bump the patch (not minor, not major) version on each change in the Chart Source code
7-
version: 1.23.0
7+
version: 1.23.1
88
# Do not update appVersion, this is handled automatically by the release process
99
appVersion: v0.30.0
1010

deployment/chainloop/README.md

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -439,13 +439,16 @@ chainloop config save \
439439
440440
### Control Plane
441441
442-
| Name | Description | Value |
443-
| ------------------------------------ | --------------------------------------------------------------------------------------- | ----------------------------------------------- |
444-
| `controlplane.replicaCount` | Number of replicas | `2` |
445-
| `controlplane.image.repository` | FQDN uri for the image | `ghcr.io/chainloop-dev/chainloop/control-plane` |
446-
| `controlplane.image.tag` | Image tag (immutable tags are recommended). If no set chart.appVersion will be used | |
447-
| `controlplane.tlsConfig.secret.name` | name of a secret containing TLS certificate to be used by the controlplane grpc server. | `""` |
448-
| `controlplane.pluginsDir` | Directory where to look for plugins | `/plugins` |
442+
| Name | Description | Value |
443+
| ---------------------------------------------- | ----------------------------------------------------------------------------------------------- | ----------------------------------------------- |
444+
| `controlplane.replicaCount` | Number of replicas | `2` |
445+
| `controlplane.image.repository` | FQDN uri for the image | `ghcr.io/chainloop-dev/chainloop/control-plane` |
446+
| `controlplane.image.tag` | Image tag (immutable tags are recommended). If no set chart.appVersion will be used | |
447+
| `controlplane.tlsConfig.secret.name` | name of a secret containing TLS certificate to be used by the controlplane grpc server. | `""` |
448+
| `controlplane.pluginsDir` | Directory where to look for plugins | `/plugins` |
449+
| `controlplane.referrerSharedIndex` | Configure the shared, public index API endpoint that can be used to discover metadata referrers | |
450+
| `controlplane.referrerSharedIndex.enabled` | Enable index API endpoint | `false` |
451+
| `controlplane.referrerSharedIndex.allowedOrgs` | List of UUIDs of organizations that are allowed to publish to the shared index | `[]` |
449452
450453
### Control Plane Database
451454

deployment/chainloop/templates/controlplane/config.configmap.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,4 +34,6 @@ data:
3434
addr: {{ printf "%s-api:%.0f" (include "chainloop.cas.fullname" .) .Values.cas.serviceAPI.port }}
3535
insecure: true
3636
download_url: {{ include "chainloop.cas.external_url" . }}/download
37-
plugins_dir: {{ .Values.controlplane.pluginsDir }}
37+
plugins_dir: {{ .Values.controlplane.pluginsDir }}
38+
referrer_shared_index:
39+
{{- toYaml .Values.controlplane.referrerSharedIndex | nindent 6 }}

deployment/chainloop/values.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,13 @@ controlplane:
114114
## @param controlplane.pluginsDir Directory where to look for plugins
115115
pluginsDir: /plugins
116116

117+
## @extra controlplane.referrerSharedIndex Configure the shared, public index API endpoint that can be used to discover metadata referrers
118+
## @param controlplane.referrerSharedIndex.enabled Enable index API endpoint
119+
## @param controlplane.referrerSharedIndex.allowedOrgs List of UUIDs of organizations that are allowed to publish to the shared index
120+
referrerSharedIndex:
121+
enabled: false
122+
allowedOrgs: []
123+
117124
# Database migration
118125
## @skip controlplane.migration
119126
migration:

0 commit comments

Comments
 (0)