mirror of
https://github.com/dokku/dokku.git
synced 2026-08-29 10:08:53 +02:00
fix: ensure keda auth secrets are written out
This commit is contained in:
@@ -38,6 +38,7 @@ type GlobalValues struct {
|
||||
DeploymentID string `yaml:"deploment_id"`
|
||||
Image GlobalImage `yaml:"image"`
|
||||
Labels ProcessLabels `yaml:"labels,omitempty"`
|
||||
Keda GlobalKedaValues `yaml:"keda"`
|
||||
Namespace string `yaml:"namespace"`
|
||||
Network GlobalNetwork `yaml:"network"`
|
||||
Secrets map[string]string `yaml:"secrets,omitempty"`
|
||||
@@ -56,6 +57,21 @@ type GlobalNetwork struct {
|
||||
PrimaryPort int32 `yaml:"primary_port"`
|
||||
}
|
||||
|
||||
// GlobalKedaValues contains the global keda configuration
|
||||
type GlobalKedaValues struct {
|
||||
// Authentications is a map of authentication objects to use for keda
|
||||
Authentications map[string]KedaAuthentication `yaml:"authentications"`
|
||||
}
|
||||
|
||||
// KedaAuthentication contains the authentication configuration for keda
|
||||
type KedaAuthentication struct {
|
||||
// Type is the type of authentication to use
|
||||
Type string `yaml:"type"`
|
||||
|
||||
// Secrets is a map of secrets to use for authentication
|
||||
Secrets map[string]string `yaml:"secrets"`
|
||||
}
|
||||
|
||||
type ProcessValues struct {
|
||||
Annotations ProcessAnnotations `yaml:"annotations,omitempty"`
|
||||
Args []string `yaml:"args,omitempty"`
|
||||
@@ -120,6 +136,15 @@ type ProcessAutoscalingTrigger struct {
|
||||
|
||||
// Metadata is a map of key-value pairs that can be used to store arbitrary trigger data
|
||||
Metadata map[string]string `yaml:"metadata,omitempty"`
|
||||
|
||||
// AuthenticationRef is a reference to an authentication object
|
||||
AuthenticationRef *ProcessAutoscalingTriggerAuthenticationRef `yaml:"authenticationRef,omitempty"`
|
||||
}
|
||||
|
||||
// ProcessAutoscalingTriggerAuthenticationRef is a reference to an authentication object
|
||||
type ProcessAutoscalingTriggerAuthenticationRef struct {
|
||||
// Name is the name of the authentication object
|
||||
Name string `yaml:"name"`
|
||||
}
|
||||
|
||||
type ProcessHealthchecks struct {
|
||||
|
||||
Reference in New Issue
Block a user