Skip to content

Commit

Permalink
Update docs
Browse files Browse the repository at this point in the history
Signed-off-by: Jason Parraga <[email protected]>
  • Loading branch information
Sovietaced committed Oct 6, 2024
1 parent 1618195 commit c527032
Showing 1 changed file with 19 additions and 8 deletions.
27 changes: 19 additions & 8 deletions flyteadmin/pkg/runtime/interfaces/application_configuration.go
Original file line number Diff line number Diff line change
Expand Up @@ -236,21 +236,32 @@ type GCPConfig struct {
ProjectID string `json:"projectId"`
}

// This section holds SASL config for Kafka
type SASLConfig struct {
Enabled bool `json:"enabled"`
User string `json:"user"`
Password string `json:"password"`
Handshake bool `json:"handshake"`
// Whether to use SASL
Enabled bool `json:"enabled"`
// The username
User string `json:"user"`
// The password
Password string `json:"password"`
Handshake bool `json:"handshake"`
// Which SASL Mechanism to use. Defaults to PLAIN
Mechanism sarama.SASLMechanism `json:"mechanism"`
}

// This section holds TLS config for Kafka clients
type TLSConfig struct {
Enabled bool `json:"enabled"`
InsecureSkipVerify bool `json:"insecureSkipVerify"`
CertPath string `json:"certPath"`
KeyPath string `json:"keyPath"`
// Whether to use TLS
Enabled bool `json:"enabled"`
// Whether to skip certificate verification
InsecureSkipVerify bool `json:"insecureSkipVerify"`
// The location of the client certificate
CertPath string `json:"certPath"`
// The location of the client private key
KeyPath string `json:"keyPath"`
}

// This section holds configs for Kafka clients
type KafkaConfig struct {
// The version of Kafka, e.g. 2.1.0, 0.8.2.0
Version string `json:"version"`
Expand Down

0 comments on commit c527032

Please sign in to comment.