| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent b30cb1f commit 67d6714
4 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -70,6 +70,7 @@ helm install securecodebox-operator oci://ghcr.io/securecodebox/helm/operator | |||
| 70 | 70 | | Key | Type | Default | Description | | |
| 71 | 71 | |-----|------|---------|-------------| | |
| 72 | 72 | | allowIstioSidecarInjectionInJobs | bool | `false` | Sets the value of the istio sidecar annotation ("sidecar.istio.io/inject") for jobs started by the operator (scans, parser and hooks). defaults to false to prevent jobs hanging indefinitely due to the sidecar never terminating. If you aren't using istio this setting/annotation has no effect. | | |
| 73 | + | clusterDomain | string | `"cluster.local"` | The cluster domain to use when building the in-cluster Minio endpoint (`<release>-minio.<namespace>.svc.<clusterDomain>`). Override this if your cluster uses a custom domain instead of the Kubernetes default `cluster.local`. | | ||
| 73 | 74 | | customCACertificate | object | `{"certificate":"public.crt","existingCertificate":null}` | Setup for Custom CA certificates. These are automatically mounted into every secureCodeBox component (lurker, parser & hooks). Requires that every namespace has a configmap with the CA certificate(s) | | |
| 74 | 75 | | customCACertificate.certificate | string | `"public.crt"` | key in the configmap holding the certificate(s) | | |
| 75 | 76 | | customCACertificate.existingCertificate | string | `nil` | name of the configMap holding the ca certificate(s), needs to be the same across all namespaces | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -75,7 +75,7 @@ spec: | |||
| 75 | 75 | - name: S3_USE_SSL | |
| 76 | 76 | value: "{{ .Values.minio.tls.enabled }}" | |
| 77 | 77 | - name: S3_ENDPOINT | |
| 78 | - value: "{{ .Release.Name }}-minio.{{ .Release.Namespace }}.svc.cluster.local" | ||
| 78 | + value: "{{ .Release.Name }}-minio.{{ .Release.Namespace }}.svc.{{ .Values.clusterDomain }}" | ||
| 79 | 79 | - name: S3_PORT | |
| 80 | 80 | value: '9000' | |
| 81 | 81 | - name: MINIO_ACCESS_KEY | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -91,6 +91,20 @@ tests: | |||
| 91 | 91 | - equal: | |
| 92 | 92 | path: spec.template.spec.containers[0].env[?(@.name=="S3_ENDPOINT")].value | |
| 93 | 93 | value: "RELEASE-NAME-minio.NAMESPACE.svc.cluster.local" | |
| 94 | + - it: allows overriding the cluster domain used for the minio endpoint | ||
| 95 | + templates: | ||
| 96 | + - manager/manager.yaml | ||
| 97 | + chart: | ||
| 98 | + version: 0.0.0 | ||
| 99 | + appVersion: 0.0.0 | ||
| 100 | + set: | ||
| 101 | + minio: | ||
| 102 | + enabled: true | ||
| 103 | + clusterDomain: custom.local | ||
| 104 | + asserts: | ||
| 105 | + - equal: | ||
| 106 | + path: spec.template.spec.containers[0].env[?(@.name=="S3_ENDPOINT")].value | ||
| 107 | + value: "RELEASE-NAME-minio.NAMESPACE.svc.custom.local" | ||
| 94 | 108 | - it: configures manager deployment for external s3 | |
| 95 | 109 | templates: | |
| 96 | 110 | - manager/manager.yaml | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -9,6 +9,9 @@ | |||
| 9 | 9 | # telemetryEnabled -- The Operator sends anonymous telemetry data, to give the team an overview how much the secureCodeBox is used. Find out more at https://www.securecodebox.io/telemetry | |
| 10 | 10 | telemetryEnabled: true | |
| 11 | 11 | ||
| 12 | + # -- The cluster domain to use when building the in-cluster Minio endpoint (`<release>-minio.<namespace>.svc.<clusterDomain>`). Override this if your cluster uses a custom domain instead of the Kubernetes default `cluster.local`. | ||
| 13 | + clusterDomain: cluster.local | ||
| 14 | + | ||
| 12 | 15 | # -- Define imagePullSecrets when a private registry is used (see: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/) | |
| 13 | 16 | imagePullSecrets: [] | |
| 14 | 17 | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments