reconcile

package
v1.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 19, 2024 License: MIT Imports: 36 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ClusterProperties added in v1.1.0

func ClusterProperties(ctx context.Context, params Params) error

func ConfigMaps

func ConfigMaps(ctx context.Context, params Params) error

func Deployment

func Deployment(ctx context.Context, params Params) error

func ExternalCerts added in v1.1.0

func ExternalCerts(ctx context.Context, params Params) error

func ExternalKeys added in v1.0.7

func ExternalKeys(ctx context.Context, params Params) error

func ExternalRepository added in v1.0.7

func ExternalRepository(ctx context.Context, params Params) error

func ExternalSecrets added in v1.0.7

func ExternalSecrets(ctx context.Context, params Params) error

func GatewayLicense

func GatewayLicense(ctx context.Context, params Params) error

func GatewayStatus

func GatewayStatus(ctx context.Context, params Params) error

func HardenGraphmanService added in v1.1.0

func HardenGraphmanService(ctx context.Context, params Params) error

HardenGraphmanService adds required mutual TLS to the Gateway's GraphQL Management API (Graphman) This process also creates a user (PKI) and restricts Graphman to that user effectively locking remote Gateway management to the Layer7 Operator only. This feature is intended for Ephemeral Gateways, while it will work for MySQL backed Gateways we strongly recommend you supply your own PKI Pair as losing this means you will need to update the user in Policy Manager as no remote interaction will be available.

func HorizontalPodAutoscaler

func HorizontalPodAutoscaler(ctx context.Context, params Params) error

func Ingress

func Ingress(ctx context.Context, params Params) error

func ListenPorts added in v1.1.0

func ListenPorts(ctx context.Context, params Params) error

func ManagementPod

func ManagementPod(ctx context.Context, params Params) error

func PodDisruptionBudget

func PodDisruptionBudget(ctx context.Context, params Params) error

func ReconcileDBGateway added in v1.0.4

func ReconcileDBGateway(ctx context.Context, params Params, kind string, gatewayDeployment appsv1.Deployment, gateway *securityv1.Gateway, gwSecret *corev1.Secret, graphmanEncryptionPassphrase string, annotation string, sha1Sum string, otkCerts bool, name string, bundle []byte) error

func ReconcileEphemeralGateway added in v1.0.4

func ReconcileEphemeralGateway(ctx context.Context, params Params, kind string, podList corev1.PodList, gateway *securityv1.Gateway, gwSecret *corev1.Secret, graphmanEncryptionPassphrase string, annotation string, sha1Sum string, otkCerts bool, name string, bundle []byte) error

func Route added in v1.0.4

func Route(ctx context.Context, params Params) error

func ScheduledJobs

func ScheduledJobs(ctx context.Context, params Params) error

func Secrets added in v1.0.4

func Secrets(ctx context.Context, params Params) error

func ServiceAccount added in v1.0.4

func ServiceAccount(ctx context.Context, params Params) error

/ TODO: Should auto-delete if not used...

func Services

func Services(ctx context.Context, params Params) error

Types

type MappingSource added in v1.1.0

type MappingSource struct {
	Name           string `json:"name,omitempty"`
	Alias          string `json:"alias,omitempty"`
	KeystoreId     string `json:"keystoreId,omitempty"`
	ThumbprintSha1 string `json:"thumbprintSha1,omitempty"`
}

type Params

type Params struct {
	Client   client.Client
	Recorder record.EventRecorder
	Scheme   *runtime.Scheme
	Log      logr.Logger
	Instance *securityv1.Gateway
	Platform string
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL