🔨 Add AUTH_SAML_ROLES field to ConfigMap

This commit is contained in:
M. Mert Yildiran
2024-01-23 23:22:06 +03:00
parent a8dd332ff8
commit f9e0c36d5f
5 changed files with 108 additions and 3 deletions

View File

@@ -59,6 +59,19 @@ func CreateDefaultConfig() ConfigStruct {
"CHECKPOINT_RESTORE",
},
},
Auth: configStructs.AuthConfig{
Saml: configStructs.SamlConfig{
Roles: map[string]configStructs.Role{
"admin": {
Filter: "",
CanReplayTraffic: true,
CanDownloadPCAP: true,
CanUseScripting: true,
CanUpdateTargetedPods: true,
},
},
},
},
},
}
}