Documentation ¶
Index ¶
- Constants
- func EnsureAssetsInNamespace(config *Config) error
- func MutateCaInjection(pod *corev1.Pod, config *Config) error
- func MutateEgress(pod *corev1.Pod, config *Config) error
- func MutateInjection(pod *corev1.Pod, config *Config) error
- type Config
- type EgressType
- type Registration
- type RegistrationResponse
- type Webhook
Constants ¶
View Source
const DEFAULT_ENDPOINT = "https://api.qpoint.io"
View Source
const INIT_IMAGE = "us-docker.pkg.dev/qpoint-edge/public/kubernetes-qtap-init"
View Source
const INJECT_ANNOTATIONS_CONFIGMAP = "qtap-operator-inject-pod-annotations-configmap"
View Source
const NAMESPACE_EGRESS_LABEL = "qpoint.io/egress"
View Source
const POD_EGRESS_LABEL = "qpoint.io/egress"
View Source
const QPOINT_ROOT_CA = "qpoint-qtap-ca.crt" // this is the Qpoint CA
View Source
const QTAP_BUNDLE = "qtap-ca-bundle.crt" // final bundle includes all CAs (including Qpoint's CA)
View Source
const QTAP_IMAGE = "us-docker.pkg.dev/qpoint-edge/public/qtap"
View Source
const SERVICE_ANNOTATIONS_CONFIGMAP = "qtap-operator-service-pod-annotations-configmap"
Variables ¶
This section is empty.
Functions ¶
func EnsureAssetsInNamespace ¶
Types ¶
type Config ¶
type Config struct { EgressType EgressType InjectCa bool Namespace string OperatorNamespace string Client client.Client Ctx context.Context // contains filtered or unexported fields }
func (*Config) GetAnnotation ¶ added in v0.0.5
type EgressType ¶ added in v0.0.5
type EgressType string
const ( EgressType_UNDEFINED EgressType = "undefined" EgressType_DISABLE EgressType = "disable" EgressType_SERVICE EgressType = "service" EgressType_INJECT EgressType = "inject" )
type Registration ¶ added in v0.0.5
type Registration struct {
Ca string `json:"ca"`
}
func FetchRegistration ¶ added in v0.0.5
func FetchRegistration(token string) (*Registration, error)
type RegistrationResponse ¶ added in v0.0.5
type RegistrationResponse struct {
Registration Registration `json:"registration"`
}
Click to show internal directories.
Click to hide internal directories.