mirror of
https://github.com/kubeshark/kubeshark.git
synced 2025-09-02 11:05:22 +00:00
✨ Add AuthConfig
struct and pass domains in AUTH_APPROVED_DOMAINS
environment variable
This commit is contained in:
@@ -265,6 +265,10 @@ func (provider *Provider) BuildHubPod(opts *PodOptions) (*core.Pod, error) {
|
||||
Name: "SCRIPTING_SCRIPTS",
|
||||
Value: string(scriptsMarshalled),
|
||||
},
|
||||
{
|
||||
Name: "AUTH_APPROVED_DOMAINS",
|
||||
Value: strings.Join(config.Config.Tap.Ingress.Auth.ApprovedDomains, ","),
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
|
Reference in New Issue
Block a user