Documentation ¶
Index ¶
- Constants
- Variables
- func FeatureFlagSourceIndex(o client.Object) []string
- func FindFlagConfig(ctx context.Context, c client.Client, namespace string, name string) (*api.FeatureFlag, error)
- func IsManagedByOFO(obj client.Object) bool
- func SharedOwnership(ownerReferences1, ownerReferences2 []metav1.OwnerReference) bool
Constants ¶
View Source
const ( ReconcileErrorInterval = 10 * time.Second ReconcileSuccessInterval = 120 * time.Second FinalizerName = "featureflag.core.openfeature.dev/finalizer" OpenFeatureAnnotationPath = "spec.template.metadata.annotations.openfeature.dev/openfeature.dev" OpenFeatureAnnotationRoot = "openfeature.dev" FlagdImagePullPolicy corev1.PullPolicy = "Always" ClusterRoleBindingName string = "open-feature-operator-flagd-kubernetes-sync" AllowKubernetesSyncAnnotation = "allowkubernetessync" OpenFeatureAnnotationPrefix = "openfeature.dev" PodOpenFeatureAnnotationPath = "metadata.annotations.openfeature.dev" SourceConfigParam = "--sources" ProbeReadiness = "/readyz" ProbeLiveness = "/healthz" ProbeInitialDelay = 5 FeatureFlagSourceAnnotation = "featureflagsource" EnabledAnnotation = "enabled" ManagedByAnnotationKey = "app.kubernetes.io/managed-by" ManagedByAnnotationValue = "open-feature-operator" OperatorDeploymentName = "open-feature-operator-controller-manager" InProcessConfigurationAnnotation = "inprocessconfiguration" )
Variables ¶
View Source
var ErrFlagdProxyNotReady = errors.New("flagd-proxy is not ready, deferring pod admission")
View Source
var ErrUnrecognizedSyncProvider = errors.New("unrecognized sync provider")
Functions ¶
func FeatureFlagSourceIndex ¶
func FindFlagConfig ¶
func IsManagedByOFO ¶ added in v0.5.6
func SharedOwnership ¶
func SharedOwnership(ownerReferences1, ownerReferences2 []metav1.OwnerReference) bool
SharedOwnership returns true if any of the owner references match in the given slices
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.