File tree Expand file tree Collapse file tree 5 files changed +61
-2
lines changed Expand file tree Collapse file tree 5 files changed +61
-2
lines changed Original file line number Diff line number Diff line change 9393 chart :
9494 description : Chart configuration for Envoy Gateway.
9595 properties :
96+ secretRef :
97+ description : |-
98+ SecretRef specifies the Secret containing authentication credentials
99+ for the OCIRepository.
100+ For HTTP/S basic auth the secret must contain 'username' and 'password'
101+ fields.
102+ Support for TLS auth using the 'certFile' and 'keyFile', and/or 'caFile'
103+ keys is deprecated. Please use `.spec.certSecretRef` instead.
104+ properties :
105+ name :
106+ description : Name of the referent.
107+ type : string
108+ required :
109+ - name
110+ type : object
96111 tag :
97112 description : ' Tag of the chart. Example: 1.5.4'
98113 minLength : 1
@@ -112,6 +127,21 @@ spec:
112127 gateway :
113128 description : ' EnvoyGateway image. Example: docker.io/envoyproxy/gateway:v1.5.1'
114129 type : string
130+ imagePullSecrets :
131+ description : |-
132+ ImagePullSecrets specifies the Secrets containing authentication credentials
133+ for the Envoy Gateway deployment.
134+ items :
135+ description : LocalObjectReference contains enough information
136+ to locate the referenced Kubernetes resource object.
137+ properties :
138+ name :
139+ description : Name of the referent.
140+ type : string
141+ required :
142+ - name
143+ type : object
144+ type : array
115145 proxy :
116146 description : ' EnvoyProxy image. Example: docker.io/envoyproxy/envoy:distroless-v1.35.3'
117147 type : string
Original file line number Diff line number Diff line change 11package v1alpha1
22
33import (
4+ "github.com/fluxcd/pkg/apis/meta"
45 metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
56)
67
@@ -60,6 +61,15 @@ type EnvoyGatewayChart struct {
6061 // +kubebuilder:validation:Required
6162 // +kubebuilder:validation:MinLength=1
6263 Tag string `json:"tag"`
64+
65+ // SecretRef specifies the Secret containing authentication credentials
66+ // for the OCIRepository.
67+ // For HTTP/S basic auth the secret must contain 'username' and 'password'
68+ // fields.
69+ // Support for TLS auth using the 'certFile' and 'keyFile', and/or 'caFile'
70+ // keys is deprecated. Please use `.spec.certSecretRef` instead.
71+ // +optional
72+ SecretRef * meta.LocalObjectReference `json:"secretRef,omitempty"`
6373}
6474
6575type ImagesConfig struct {
@@ -71,6 +81,11 @@ type ImagesConfig struct {
7181
7282 // Ratelimit image. Example: docker.io/envoyproxy/ratelimit:e74a664a
7383 Ratelimit string `json:"rateLimit"`
84+
85+ // ImagePullSecrets specifies the Secrets containing authentication credentials
86+ // for the Envoy Gateway deployment.
87+ // +optional
88+ ImagePullSecrets []meta.LocalObjectReference `json:"imagePullSecrets,omitempty"`
7489}
7590
7691type DNSConfig struct {
Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ module github.com/openmcp-project/platform-service-gateway/api
33go 1.25.3
44
55require (
6+ github.com/fluxcd/pkg/apis/meta v1.22.0
67 github.com/openmcp-project/controller-utils v0.23.3
78 github.com/openmcp-project/openmcp-operator/api v0.16.0
89 k8s.io/apiextensions-apiserver v0.34.1
Original file line number Diff line number Diff line change @@ -14,6 +14,8 @@ github.com/evanphx/json-patch v4.12.0+incompatible h1:4onqiflcdA9EOZ4RxV643DvftH
1414github.com/evanphx/json-patch v4.12.0+incompatible /go.mod h1:50XU6AFN0ol/bzJsmQLiYLvXMP4fmwYFNcr97nuDLSk =
1515github.com/evanphx/json-patch/v5 v5.9.11 h1:/8HVnzMq13/3x9TPvjG08wUGqBTmZBsCWzjTM0wiaDU =
1616github.com/evanphx/json-patch/v5 v5.9.11 /go.mod h1:3j+LviiESTElxA4p3EMKAB9HXj3/XEtnUf6OZxqIQTM =
17+ github.com/fluxcd/pkg/apis/meta v1.22.0 h1:EHWQH5ZWml7i8eZ/AMjm1jxid3j/PQ31p+hIwCt6crM =
18+ github.com/fluxcd/pkg/apis/meta v1.22.0 /go.mod h1:Kc1+bWe5p0doROzuV9XiTfV/oL3ddsemYXt8ZYWdVVg =
1719github.com/fsnotify/fsnotify v1.9.0 h1:2Ml+OJNzbYCTzsxtv8vKSFD9PbJjmhYF14k/jKC7S9k =
1820github.com/fsnotify/fsnotify v1.9.0 /go.mod h1:8jBTzvmWwFyi3Pb8djgCCO5IBqzKJ/Jwo8TRcHyHii0 =
1921github.com/fxamacker/cbor/v2 v2.9.0 h1:NpKPmjDBgUfBms6tr6JZkTHtfFGcMKsw3eGcmD/sapM =
You can’t perform that action at this time.
0 commit comments