Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
56 commits
Select commit Hold shift + click to select a range
1333f7b
Update locations of ./config/ within code and docs (#2077)
tmshort Jul 8, 2025
7bde7c9
Add experimental CRDs into Tilt config (#2079)
tmshort Jul 8, 2025
d101484
:sparkles: Add NamespaceSelector to generated webhook configs (#2076)
perdasilva Jul 8, 2025
eb4b979
:seedling: Move registry to registry:3 and make in-cluster registry v…
perdasilva Jul 8, 2025
1b159f6
Update Tilt to use a single manifest (#2082)
tmshort Jul 8, 2025
e02c8de
:seedling: Bump helm.sh/helm/v3 from 3.18.3 to 3.18.4 (#2083)
dependabot[bot] Jul 9, 2025
6bbf4d7
:sparkles: Add support for deploying OCI helm charts in OLM v1 (#1971)
OchiengEd Jul 10, 2025
0a88ab3
:seedling: Bump golang.org/x/mod from 0.25.0 to 0.26.0 (#2086)
dependabot[bot] Jul 10, 2025
e73cabd
:seedling: Bump golang.org/x/sync from 0.15.0 to 0.16.0 (#2087)
dependabot[bot] Jul 10, 2025
134f887
:seedling: Bump certifi from 2025.6.15 to 2025.7.9 (#2084)
dependabot[bot] Jul 10, 2025
bc0f609
Add Network Policy to e2e test bundles (#2078)
trgeiger Jul 11, 2025
5017e8e
Ensure proper deepcopy generation by deleting the file (#2091)
tmshort Jul 11, 2025
365831a
Propagate errors from update-crds.sh script (#2090)
tmshort Jul 11, 2025
36699ab
Remove synthetic auth from experimental manifests (#2092)
tmshort Jul 14, 2025
a8fb76b
:seedling: Bump golang.org/x/tools from 0.34.0 to 0.35.0 (#2094)
dependabot[bot] Jul 14, 2025
c076365
:seedling: Bump certifi from 2025.7.9 to 2025.7.14 (#2096)
dependabot[bot] Jul 14, 2025
e088ce9
When generating, delete only upstream targets (#2098)
tmshort Jul 15, 2025
36809b3
:seedling: Bump github.com/golang-jwt/jwt/v5 from 5.2.2 to 5.2.3 (#2097)
dependabot[bot] Jul 15, 2025
b65c13d
Merge branch 'main' into synchronize
Jul 16, 2025
06a33ef
UPSTREAM: <carry>: Add OpenShift specific files
dtfranz Oct 26, 2023
6abb7f6
UPSTREAM: <carry>: Fix catalogd.Dockerfile to use new paths
tmshort Feb 26, 2025
c6d8c9e
UPSTREAM: <carry>: Update DOWNSTREAM_OWNERS_ALIASES
tmshort Mar 6, 2025
1e503a4
UPSTREAM: <carry>: Add openshift node selector annotation
oceanc80 Mar 26, 2025
a396feb
UPSTREAM: <carry>: Add caalogd-cas-dir option to op-con
tmshort Apr 15, 2025
7942ce3
UPSTREAM: <carry>: set the SElinux type
jianzhangbjz Apr 27, 2025
b65fef7
UPSTREAM: <carry>: Add initial stack to run tests to validate the cat…
camilamacedo86 Apr 17, 2025
84beceb
UPSTREAM: <carry>: Add vendor files for the catalog-sync tests
camilamacedo86 Apr 17, 2025
db3d7cc
UPSTREAM: <carry>: Bump catalog versions to 4.19
tmshort Apr 24, 2025
88a923b
UPSTREAM: <carry>: revert "Bump catalog versions to 4.19"
tmshort May 15, 2025
ae21df7
UPSTREAM: <carry>: Update HOWTO-origin-tests
tmshort May 14, 2025
127a6e3
UPSTREAM: <carry>: [DefaultCatalogTests]: Allow to pass auth path for…
camilamacedo86 May 16, 2025
0e5789c
UPSTREAM: <carry>: fix: set NoLchown=true to allow image unpack on OCPci
camilamacedo86 May 19, 2025
070a8ac
UPSTREAM: <carry>: [DefaultCatalogTests]: Moving parse of ENVVAR to t…
camilamacedo86 May 17, 2025
0978ca6
UPSTREAM: <carry>: [Default Catalog]: Create tmp dir to extract layer…
camilamacedo86 May 20, 2025
2eec6c2
UPSTREAM: <carry>: [Default Catalog](cleanp) Remove hack directory wh…
camilamacedo86 May 19, 2025
f9f2003
UPSTREAM: <carry>: Change code implementation to extract layers in OC…
camilamacedo86 May 21, 2025
6a85ee9
UPSTREAM: <carry>: Add vendor files for change in the extract code im…
camilamacedo86 May 21, 2025
2de12ee
UPSTREAM: <carry>: [Default Catalog Tests]: Final cleanups and enhanc…
camilamacedo86 May 22, 2025
d9bff2e
UPSTREAM: <carry>: SELinux type for operator-controller
jianzhangbjz May 22, 2025
ff03756
UPSTREAM: <carry>: Bump catalog versions to 4.19
tmshort Apr 24, 2025
c8726c1
UPSTREAM: <carry>: [Default Catalog Consistency Test] (feat) add chec…
camilamacedo86 May 28, 2025
4c247ed
UPSTREAM: <carry>: [Default Catalog Consistency Test]: fix junit outp…
camilamacedo86 Jun 2, 2025
33b8c9f
UPSTREAM: <carry>: [Default Catalog Consistency Test] (feat) add chec…
camilamacedo86 May 29, 2025
c846d3e
UPSTREAM: <carry>: [Default Catalog Consistency Test]: Enable Catalog…
camilamacedo86 Jun 4, 2025
27fbd3c
UPSTREAM: <carry>: [Default Catalog Consistency Test]: Rename Tests s…
camilamacedo86 Jun 4, 2025
c1a13d8
UPSTREAM: <carry>: Updating ose-olm-operator-controller-container ima…
Jun 18, 2025
2016ba0
UPSTREAM: <carry>: Updating ose-olm-catalogd-container image to be co…
Jun 18, 2025
2f91f9f
UPSTREAM: <carry>: Update e2e registry to use 1.24/4.20
tmshort Jun 30, 2025
a7cb1f4
UPSTREAM: <carry>: [Catalog Default Tests]: Upgrade go version to 1.2…
camilamacedo86 Jul 1, 2025
48868ac
UPSTREAM: <carry>: Add structure to allow move the orgin tests using OTE
camilamacedo86 Jun 13, 2025
1b79f62
UPSTREAM: <carry>: Add support for experimental manifests
tmshort Jul 2, 2025
47ca85b
UPSTREAM: <carry>: [OTE] - chore: follow up #383 – remove unreachable…
camilamacedo86 Jul 10, 2025
bb73f80
UPSTREAM: <carry>: Remove build of test image registry
tmshort Jul 9, 2025
f2bd8f1
UPSTREAM: <drop>: go mod vendor
Jul 16, 2025
bbdd03c
UPSTREAM: <drop>: remove upstream GitHub configuration
Jul 16, 2025
5054668
UPSTREAM: <drop>: configure the commit-checker
Jul 16, 2025
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
35 changes: 18 additions & 17 deletions .tilt-support
Original file line number Diff line number Diff line change
Expand Up @@ -130,23 +130,24 @@ def process_yaml(yaml):

# data format:
# {
# 'image': 'quay.io/operator-framework/rukpak',
# 'yaml': 'manifests/overlays/cert-manager',
# 'binaries': {
# 'core': 'core',
# 'crdvalidator': 'crd-validation-webhook',
# 'helm': 'helm-provisioner',
# 'webhooks': 'rukpak-webhooks',
# 'repos': {
# 'catalogd': {
# 'image': 'quay.io/operator-framework/catalogd',
# 'binary': './cmd/catalogd',
# 'deployment': 'catalogd-controller-manager',
# 'deps': ['api', 'cmd/catalogd', 'internal/catalogd', 'internal/shared', 'go.mod', 'go.sum'],
# 'starting_debug_port': 20000,
# },
# ... additional entries here ...
# },
# 'deps': ['api', 'cmd/binary_name', 'internal', 'pkg'],
# },
def deploy_repo(repo, data, tags="", debug=True):
print('Deploying repo {}'.format(repo))
deploy_cert_manager_if_needed()
# 'yaml': 'config/overlays/tilt-local-dev',
# }

local_port = data['starting_debug_port']
for binary, deployment in data['binaries'].items():
build_binary(repo, binary, data['deps'], data['image'], tags, debug)
k8s_resource(deployment, port_forwards=['{}:30000'.format(local_port)])
local_port += 1
def deploy_repo(data, tags="", debug=True):
deploy_cert_manager_if_needed()
for reponame, repo in data['repos'].items():
print('Deploying repo {}'.format(reponame))
local_port = repo['starting_debug_port']
build_binary(reponame, repo['binary'], repo['deps'], repo['image'], tags, debug)
k8s_resource(repo['deployment'], port_forwards=['{}:30000'.format(local_port)])
process_yaml(kustomize(data['yaml']))
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,7 @@ manifests: $(CONTROLLER_GEN) $(KUSTOMIZE) #EXHELP Generate WebhookConfiguration,

.PHONY: generate
generate: $(CONTROLLER_GEN) #EXHELP Generate code containing DeepCopy, DeepCopyInto, and DeepCopyObject method implementations.
@find api cmd hack internal -name "zz_generated.deepcopy.go" -delete # Need to delete the files for them to be generated properly
$(CONTROLLER_GEN) --load-build-tags=$(GO_BUILD_TAGS) object:headerFile="hack/boilerplate.go.txt" paths="./..."

.PHONY: verify
Expand Down Expand Up @@ -251,7 +252,6 @@ E2E_REGISTRY_IMAGE=localhost/e2e-test-registry:devel
image-registry: export GOOS=linux
image-registry: export GOARCH=amd64
image-registry: ## Build the testdata catalog used for e2e tests and push it to the image registry
go build $(GO_BUILD_FLAGS) $(GO_BUILD_EXTRA_FLAGS) -tags '$(GO_BUILD_TAGS)' -ldflags '$(GO_BUILD_LDFLAGS)' -gcflags '$(GO_BUILD_GCFLAGS)' -asmflags '$(GO_BUILD_ASMFLAGS)' -o ./testdata/registry/bin/registry ./testdata/registry/registry.go
go build $(GO_BUILD_FLAGS) $(GO_BUILD_EXTRA_FLAGS) -tags '$(GO_BUILD_TAGS)' -ldflags '$(GO_BUILD_LDFLAGS)' -gcflags '$(GO_BUILD_GCFLAGS)' -asmflags '$(GO_BUILD_ASMFLAGS)' -o ./testdata/push/bin/push ./testdata/push/push.go
$(CONTAINER_RUNTIME) build -f ./testdata/Dockerfile -t $(E2E_REGISTRY_IMAGE) ./testdata
$(CONTAINER_RUNTIME) save $(E2E_REGISTRY_IMAGE) | $(KIND) load image-archive /dev/stdin --name $(KIND_CLUSTER_NAME)
Expand Down
37 changes: 18 additions & 19 deletions Tiltfile
Original file line number Diff line number Diff line change
@@ -1,24 +1,23 @@
load('.tilt-support', 'deploy_repo')

operator_controller = {
'image': 'quay.io/operator-framework/operator-controller',
'yaml': 'config/overlays/tilt-local-dev/operator-controller',
'binaries': {
'./cmd/operator-controller': 'operator-controller-controller-manager',
olmv1 = {
'repos': {
'catalogd': {
'image': 'quay.io/operator-framework/catalogd',
'binary': './cmd/catalogd',
'deployment': 'catalogd-controller-manager',
'deps': ['api', 'cmd/catalogd', 'internal/catalogd', 'internal/shared', 'go.mod', 'go.sum'],
'starting_debug_port': 20000,
},
'operator-controller': {
'image': 'quay.io/operator-framework/operator-controller',
'binary': './cmd/operator-controller',
'deployment': 'operator-controller-controller-manager',
'deps': ['api', 'cmd/operator-controller', 'internal/operator-controller', 'internal/shared', 'go.mod', 'go.sum'],
'starting_debug_port': 30000,
},
},
'deps': ['api', 'cmd/operator-controller', 'internal/operator-controller', 'internal/shared', 'go.mod', 'go.sum'],
'starting_debug_port': 30000,
'yaml': 'config/overlays/tilt-local-dev',
}
deploy_repo('operator-controller', operator_controller, '-tags containers_image_openpgp')

catalogd = {
'image': 'quay.io/operator-framework/catalogd',
'yaml': 'config/overlays/tilt-local-dev/catalogd',
'binaries': {
'./cmd/catalogd': 'catalogd-controller-manager',
},
'deps': ['api', 'cmd/catalogd', 'internal/catalogd', 'internal/shared', 'go.mod', 'go.sum'],
'starting_debug_port': 20000,
}

deploy_repo('catalogd', catalogd, '-tags containers_image_openpgp')
deploy_repo(olmv1, '-tags containers_image_openpgp')
3 changes: 1 addition & 2 deletions api/v1/zz_generated.deepcopy.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion commitchecker.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
expectedMergeBase: 7d4414b1f9188d1af01034010cd921e6d62f657d
expectedMergeBase: 36809b312a523019c98655a9fda396e0f1588318
upstreamBranch: main
upstreamOrg: operator-framework
upstreamRepo: operator-controller
2 changes: 1 addition & 1 deletion config/components/base/experimental/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ resources:
components:
- ../common
# EXPERIMENTAL FEATURES ARE LISTED HERE
- ../../features/synthetic-user-permissions
- ../../features/webhook-provider-certmanager
- ../../features/single-own-namespace
- ../../features/preflight-permissions
- ../../features/apiv1-metas-handler
- ../../features/helm-chart
# This one is downstream only, so we shant use it
# - ../../features/webhook-provider-openshift-serviceca
9 changes: 9 additions & 0 deletions config/components/features/helm-chart/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# DO NOT ADD A NAMESPACE HERE
---
apiVersion: kustomize.config.k8s.io/v1alpha1
kind: Component
patches:
- target:
kind: Deployment
name: operator-controller-controller-manager
path: patches/enable-featuregate.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# enable Helm chart support feature gate
- op: add
path: /spec/template/spec/containers/0/args/-
value: "--feature-gates=HelmChartSupport=true"
19 changes: 0 additions & 19 deletions config/overlays/tilt-local-dev/catalogd/kustomization.yaml

This file was deleted.

20 changes: 20 additions & 0 deletions config/overlays/tilt-local-dev/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# kustomization file for secure OLMv1
# DO NOT ADD A NAMESPACE HERE
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
commonAnnotations:
olm.operatorframework.io/feature-set: tilt-experimental
components:
- ../../components/base/experimental
# This must be last due to namespace overwrite issues of the ca
- ../../components/cert-manager
patches:
- target:
kind: Deployment
name: operator-controller-controller-manager
path: patches/operator-controller.yaml
- target:
kind: Deployment
name: catalogd-controller-manager
path: patches/catalogd.yaml

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@
value: null
- op: remove
# remove --leader-elect so container doesn't restart during breakpoints
path: /spec/template/spec/containers/0/args/0
path: /spec/template/spec/containers/0/args/2
Loading