Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ offline, registry, UI) and for the **init containers** (git clone, `feast apply`
it overrides all of them at once without touching any CR.

The **cronJob** container uses a separate env var: `RELATED_IMAGE_CRON_JOB`
(default: `quay.io/openshift/origin-cli:4.17`).
(default: `registry.k8s.io/kubectl:v1.30.5`).

**Cluster-wide image override (operator env var)** — set this on the operator `Deployment`
to redirect all pods cluster-wide to a different registry (e.g. a private mirror or a
Expand Down
2 changes: 1 addition & 1 deletion docs/how-to-guides/feast-operator/06-batch-and-jobs.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ fresh without managing an external job scheduler.
The CronJob container image is resolved through the following priority chain:

1. **`cronJob.containerConfigs.image` in the CR** — per-CronJob override
2. **`RELATED_IMAGE_CRON_JOB` env var on the operator pod** — cluster-wide default set by OLM/platform (default: `quay.io/openshift/origin-cli:4.17`)
2. **`RELATED_IMAGE_CRON_JOB` env var on the operator pod** — cluster-wide default set by OLM/platform (default: `registry.k8s.io/kubectl:v1.30.5`)

```sh
# Override cluster-wide for all CronJobs
Expand Down
2 changes: 1 addition & 1 deletion infra/feast-operator/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ OPERATOR_SDK_VERSION ?= v1.41.0
# the dev image generated using command `make build-feature-server-dev-docker`
IMG ?= $(IMAGE_TAG_BASE):$(VERSION)
FS_IMG ?= quay.io/feastdev/feature-server:$(VERSION)
CJ_IMG ?= quay.io/openshift/origin-cli:4.17
CJ_IMG ?= registry.k8s.io/kubectl:v1.30.5
# ENVTEST_K8S_VERSION refers to the version of kubebuilder assets to be downloaded by envtest binary.
ENVTEST_K8S_VERSION = 1.31.0

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -443,7 +443,7 @@ spec:
- name: RELATED_IMAGE_FEATURE_SERVER
value: quay.io/feastdev/feature-server:0.66.0
- name: RELATED_IMAGE_CRON_JOB
value: quay.io/openshift/origin-cli:4.17
value: registry.k8s.io/kubectl:v1.30.5
- name: GOMEMLIMIT
value: 230MiB
- name: OIDC_ISSUER_URL
Expand Down Expand Up @@ -539,6 +539,6 @@ spec:
relatedImages:
- image: quay.io/feastdev/feature-server:0.66.0
name: feature-server
- image: quay.io/openshift/origin-cli:4.17
- image: registry.k8s.io/kubectl:v1.30.5
name: cron-job
version: 0.66.0
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ spec:
- name: RELATED_IMAGE_FEATURE_SERVER
value: quay.io/feastdev/feature-server:0.66.0
- name: RELATED_IMAGE_CRON_JOB
value: quay.io/openshift/origin-cli:4.17
value: registry.k8s.io/kubectl:v1.30.5
2 changes: 1 addition & 1 deletion infra/feast-operator/config/manager/manager.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ spec:
- name: RELATED_IMAGE_FEATURE_SERVER
value: feast:latest
- name: RELATED_IMAGE_CRON_JOB
value: origin-cli:latest
value: registry.k8s.io/kubectl:v1.30.5
# Injected from params.env via kustomize replacements (ODH/RHOAI overlays).
# Open Data Hub operator sets this from GatewayConfig when the cluster uses external OIDC.
- name: OIDC_ISSUER_URL
Expand Down
2 changes: 1 addition & 1 deletion infra/feast-operator/dist/install.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23700,7 +23700,7 @@ spec:
- name: RELATED_IMAGE_FEATURE_SERVER
value: quay.io/feastdev/feature-server:0.66.0
- name: RELATED_IMAGE_CRON_JOB
value: quay.io/openshift/origin-cli:4.17
value: registry.k8s.io/kubectl:v1.30.5
- name: GOMEMLIMIT
value: 230MiB
- name: OIDC_ISSUER_URL
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ func (feast *FeastServices) getCronJobPodSpec() corev1.PodSpec {
},
}
// On vanilla Kubernetes (e.g. Kind) we must set an explicit non-root UID
// because the default CronJob image (origin-cli) runs as root.
// because the default CronJob image (kubectl) runs as root.
// On OpenShift the restricted-v2 SCC auto-assigns a UID from the
// namespace's allowed range, so we must NOT set RunAsUser.
if !IsOpenShift() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ const (

var (
DefaultImage = "quay.io/feastdev/feature-server:" + feastversion.FeastVersion
DefaultCronJobImage = "quay.io/openshift/origin-cli:4.17"
DefaultCronJobImage = "registry.k8s.io/kubectl:v1.30.5"
DefaultPVCAccessModes = []corev1.PersistentVolumeAccessMode{corev1.ReadWriteOnce}
NameLabelKey = feastdevv1.GroupVersion.Group + "/name"
ServiceTypeLabelKey = feastdevv1.GroupVersion.Group + "/service-type"
Expand Down
Loading