feat: add initial support for keda authentication
This commit is contained in:
1 parent
8add9b4b13
commit
4ddd341184
6 files changed
+97
-17
No files matched your search
@@ -404,6 +404,18 @@ func getAnnotations(appName string, processType string) (ProcessAnnotations, err
|
||||
}
|
||||
annotations.KedaScalingObjectAnnotations = kedaScalingObjectAnnotations
|
||||
|
||||
kedaSecretAnnotations, err := getAnnotation(appName, processType, "keda_secret")
|
||||
if err != nil {
|
||||
return annotations, err
|
||||
}
|
||||
annotations.KedaSecretAnnotations = kedaSecretAnnotations
|
||||
|
||||
kedaTriggerAuthenticationAnnotations, err := getAnnotation(appName, processType, "keda_trigger_authentication")
|
||||
if err != nil {
|
||||
return annotations, err
|
||||
}
|
||||
annotations.KedaTriggerAuthenticationAnnotations = kedaTriggerAuthenticationAnnotations
|
||||
|
||||
podAnnotations, err := getAnnotation(appName, processType, "pod")
|
||||
if err != nil {
|
||||
return annotations, err
|
||||
|
||||
Reference in new issue
Block a user