Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

 
 

Repository files navigation

feast-module-operator

Module operator for the FeastOperator component, deployed and managed by the ODH Operator via the modular handler framework.

Overview

This operator watches FeastOperator Custom Resources (API version components.platform.opendatahub.io/v1alpha1) and deploys the upstream feast-operator using bundled kustomize manifests.

The ODH Operator:

  1. Deploys this module operator via a Helm chart
  2. Creates a FeastOperator CR with platform configuration (e.g. OIDC settings)
  3. This operator reconciles the CR and deploys the feast-operator workload

Development

Prerequisites

  • Go 1.26+
  • Access to a Kubernetes cluster (for integration/e2e tests)
  • podman or docker for container builds

Build

make build

Run Unit Tests

make test

Run Integration Tests (requires cluster)

make test-integration

Operator Chaos Validation

This repository uses operator-chaos for shift-left upgrade validation. On every pull request that modifies api/, internal/controller/, config/, or knowledge, automated checks validate:

  • Breaking changes in the knowledge model (chaos/knowledge/feast.yaml)
  • Breaking changes in the FeastOperator CRD schema
  • Upgrade simulation (dry-run mode)

The validation runs automatically via GitHub Actions. See .github/workflows/operator-chaos.yml for implementation details.

Build Container Image

make container-build IMG=quay.io/rhoai/odh-feast-module-operator-rhel9:rhoai-3.5

Generate Helm Chart

make helm

Architecture

Reconciliation Flow

FeastOperator CR (v1) created by ODH Operator
  │
  ├── initialize: resolve manifest path from ODH_MODULE_OPERATOR_MANIFESTS_PATH
  ├── setKustomizedParams: write OIDC_ISSUER_URL into params.env
  ├── migrateDeploymentSelector: handle stale selector migration
  ├── upgradeIfNeeded: handle version transitions
  ├── deploy: render kustomize manifests and apply to cluster
  └── reportStatus: update CR conditions (Ready/Degraded)

Related Images

Environment Variable Purpose
RELATED_IMAGE_FEAST_OPERATOR feast-operator controller-manager image
RELATED_IMAGE_FEATURE_SERVER feast feature-server sidecar image
RELATED_IMAGE_ODH_KUBE_RBAC_PROXY_IMAGE ODH/RHOAI kube-rbac-proxy image for feast-operator workload sidecars

License

Apache License 2.0 — see LICENSE.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages