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
1 change: 0 additions & 1 deletion AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ This file provides rules and context for any AI coding assistant working in this
- **DO NOT** commit secrets, credentials, or private keys. `values-secret.yaml.template` is a template only.
- **DO NOT** use Kustomize. This project uses Helm exclusively.
- **DO NOT** create charts with `apiVersion: v1`. Use `apiVersion: v2` (Helm 3+).
- **DO NOT** place cloud-provider-specific logic in chart templates. Use `/overrides/` via `sharedValueFiles` instead.
- **DO NOT** hardcode secrets in templates. Use External Secrets Operator with vault paths (see `charts/hub/trustee/templates/dynamic-eso.yaml` for reference).

## Feature Development Precedence Order
Expand Down
11 changes: 6 additions & 5 deletions airgap/imageset-config-4.22.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,17 +31,17 @@ mirror:
- name: sandboxed-containers-operator
channels:
- name: stable
minVersion: "1.13.0"
maxVersion: "1.13.0"
minVersion: "1.13.1"
maxVersion: "1.13.1"
- name: trustee-operator
channels:
- name: stable
minVersion: "1.2.0"
maxVersion: "1.2.0"
# GitOps (ArgoCD)
# GitOps (ArgoCD) — keep aligned with main.gitops.channel in values-global.yaml
- name: openshift-gitops-operator
channels:
- name: latest
- name: gitops-1.22
# External Secrets
- name: openshift-external-secrets-operator
channels:
Expand Down Expand Up @@ -114,7 +114,8 @@ mirror:
# --- VP Helm OCI charts ---
- name: quay.io/validatedpatterns/clustergroup:0.9.58
- name: quay.io/validatedpatterns/acm:0.1.27
- name: quay.io/validatedpatterns/hashicorp-vault:0.1.8
# Minimum selected by the Vault applications (~0.1.10); mirror newer patches before use.
- name: quay.io/validatedpatterns/hashicorp-vault:0.1.10
- name: quay.io/validatedpatterns/openshift-external-secrets:0.0.4
- name: quay.io/validatedpatterns/trustee:0.10.2
- name: quay.io/validatedpatterns/sandboxed-containers:0.2.1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,12 @@ spec:
io.katacontainers.config.runtime.create_container_timeout: "900"
spec:
serviceAccountName: kbs-access-curl
{{- $clusterGroupName := get (.Values.clusterGroup | default dict) "name" }}
{{- if or (eq $clusterGroupName "azure") (eq $clusterGroupName "azure-spoke") }}
# Azure peer-pods use the ACM-distributed pull secret; other groups use KBS.
imagePullSecrets:
- name: pull-secret
{{- end }}
runtimeClassName: {{ .Values.global.coco.runtimeClassName }}
securityContext:
runAsUser: 0
Expand Down
8 changes: 4 additions & 4 deletions scripts/airgap-post-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -344,9 +344,9 @@ PYEOF
mirror_oci_charts() {
step 5 "Mirror OCI Helm charts and utility images"

local imageset="${PATTERN_DIR}/airgap/imageset-config.yaml"
local imageset="${PATTERN_DIR}/airgap/imageset-config-4.22.yaml"
if [[ ! -f "$imageset" ]]; then
warn "No imageset-config.yaml found at $imageset — skipping"
warn "No ImageSetConfiguration found at $imageset — skipping"
return
fi

Expand Down Expand Up @@ -701,8 +701,8 @@ create_operator_config() {
import yaml
with open('${PATTERN_DIR}/values-global.yaml') as f:
d = yaml.safe_load(f)
print(d.get('main',{}).get('gitops',{}).get('channel','latest'))
" 2>/dev/null || echo "latest")
print(d.get('main',{}).get('gitops',{}).get('channel','gitops-1.22'))
" 2>/dev/null || echo "gitops-1.22")

local gitops_source
gitops_source=$(python3 -c "
Expand Down
2 changes: 1 addition & 1 deletion values-azure-spoke.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ clusterGroup:
namespace: openshift-sandboxed-containers-operator
channel: stable
installPlanApproval: Manual
csv: sandboxed-containers-operator.v1.12.0
csv: sandboxed-containers-operator.v1.13.1
cert-manager:
name: openshift-cert-manager-operator
namespace: cert-manager-operator
Expand Down
7 changes: 4 additions & 3 deletions values-azure.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ clusterGroup:
namespace: openshift-sandboxed-containers-operator
channel: stable
installPlanApproval: Manual
csv: sandboxed-containers-operator.v1.13.0
csv: sandboxed-containers-operator.v1.13.1
trustee:
name: trustee-operator
namespace: trustee-operator-system
Expand Down Expand Up @@ -74,7 +74,8 @@ clusterGroup:
namespace: vault
project: vault
chart: hashicorp-vault
chartVersion: 0.1.*
# Require 0.1.10 or newer within the 0.1.x release series.
chartVersion: "~0.1.10"

secrets-operator:
name: openshift-external-secrets
Expand Down Expand Up @@ -255,4 +256,4 @@ clusterGroup:
- name: init-data-gzipper
playbook: ansible/init-data-gzipper.yaml
verbosity: -vvv
timeout: 3600
timeout: 3600
5 changes: 3 additions & 2 deletions values-baremetal-hub.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ clusterGroup:
namespace: openshift-sandboxed-containers-operator
channel: stable
installPlanApproval: Manual
csv: sandboxed-containers-operator.v1.13.0
csv: sandboxed-containers-operator.v1.13.1
annotations:
argocd.argoproj.io/sync-wave: "10"
trustee:
Expand Down Expand Up @@ -165,7 +165,8 @@ clusterGroup:
namespace: vault
project: vault
chart: hashicorp-vault
chartVersion: 0.1.*
# Require 0.1.10 or newer within the 0.1.x release series.
chartVersion: "~0.1.10"
annotations:
argocd.argoproj.io/sync-wave: "0"

Expand Down
2 changes: 1 addition & 1 deletion values-baremetal-spoke.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ clusterGroup:
namespace: openshift-sandboxed-containers-operator
channel: stable
installPlanApproval: Manual
csv: sandboxed-containers-operator.v1.13.0
csv: sandboxed-containers-operator.v1.13.1
annotations:
argocd.argoproj.io/sync-wave: "10"
cert-manager:
Expand Down
5 changes: 3 additions & 2 deletions values-baremetal.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ clusterGroup:
namespace: openshift-sandboxed-containers-operator
channel: stable
installPlanApproval: Manual
csv: sandboxed-containers-operator.v1.13.0
csv: sandboxed-containers-operator.v1.13.1
annotations:
argocd.argoproj.io/sync-wave: "10"
trustee:
Expand Down Expand Up @@ -174,7 +174,8 @@ clusterGroup:
namespace: vault
project: vault
chart: hashicorp-vault
chartVersion: 0.1.*
# Require 0.1.10 or newer within the 0.1.x release series.
chartVersion: "~0.1.10"
annotations:
argocd.argoproj.io/sync-wave: "0"

Expand Down
5 changes: 2 additions & 3 deletions values-global.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,8 @@ main:
gitops:
# Required for airgap -- set to your mirrored catalog source name
# operatorSource: cs-redhat-operator-index-v4-22
# Channel must match what's available in the mirrored catalog.
# The mirrored catalog may only have 'latest', not version-specific channels.
channel: latest
# Keep this channel aligned with airgap/imageset-config-4.22.yaml.
channel: gitops-1.22
multiSourceConfig:
enabled: true
clusterGroupChartVersion: 0.9.58
Expand Down
3 changes: 2 additions & 1 deletion values-trusted-hub.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,8 @@ clusterGroup:
namespace: vault
project: vault
chart: hashicorp-vault
chartVersion: 0.1.*
# Require 0.1.10 or newer within the 0.1.x release series.
chartVersion: "~0.1.10"

secrets-operator:
name: openshift-external-secrets
Expand Down
Loading