You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* add tls support to the operator
Signed-off-by: Tommy Hughes <[email protected]>
* operator tls review fix: if statement
Signed-off-by: Tommy Hughes <[email protected]>
* rebase fixes
Signed-off-by: Tommy Hughes <[email protected]>
* authz rbac fixes
Signed-off-by: Tommy Hughes <[email protected]>
---------
Signed-off-by: Tommy Hughes <[email protected]>
// OfflineTlsConfigs configures server TLS for the offline feast service. in an openshift cluster, this is configured by default using service serving certificates.
83
+
typeOfflineTlsConfigsstruct {
84
+
TlsConfigs`json:",inline"`
85
+
// verify the client TLS certificate.
86
+
VerifyClient*bool`json:"verifyClient,omitempty"`
79
87
}
80
88
81
89
// OfflineStorePersistence configures the persistence settings for the offline store service
@@ -119,6 +127,7 @@ var ValidOfflineStoreDBStorePersistenceTypes = []string{
// RegistryPersistence configures the persistence settings for the registry service
179
+
// +kubebuilder:validation:XValidation:rule="[has(self.file), has(self.store)].exists_one(c, c)",message="One selection required between file or store."
// will disable TLS for the feast service. useful in an openshift cluster, for example, where TLS is configured by default
306
+
Disable*bool`json:"disable,omitempty"`
307
+
}
308
+
309
+
// `secretRef` required if `disable` is false.
310
+
func (tls*TlsConfigs) IsTLS() bool {
311
+
iftls!=nil {
312
+
iftls.Disable!=nil&&*tls.Disable {
313
+
returnfalse
314
+
} elseiftls.SecretRef==nil {
315
+
returnfalse
316
+
}
317
+
returntrue
318
+
}
319
+
returnfalse
320
+
}
321
+
322
+
// TlsRemoteRegistryConfigs configures client TLS for a remote feast registry. in an openshift cluster, this is configured by default when the remote feast registry is using service serving certificates.
323
+
typeTlsRemoteRegistryConfigsstruct {
324
+
// references the local k8s configmap where the TLS cert resides
0 commit comments