{"id":20885007,"url":"https://github.com/windup/windup-operator","last_synced_at":"2025-05-12T18:31:50.024Z","repository":{"id":37829624,"uuid":"297925552","full_name":"windup/windup-operator","owner":"windup","description":"Windup Operator for Openshift-Kubernetes","archived":false,"fork":false,"pushed_at":"2024-01-22T11:20:11.000Z","size":468,"stargazers_count":6,"open_issues_count":7,"forks_count":11,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-04-01T10:11:32.593Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"epl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/windup.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-09-23T09:52:19.000Z","updated_at":"2023-10-27T14:42:08.000Z","dependencies_parsed_at":"2023-10-15T12:46:13.763Z","dependency_job_id":"14d5a24b-6126-457a-8eef-e5ba03bd25e4","html_url":"https://github.com/windup/windup-operator","commit_stats":null,"previous_names":[],"tags_count":25,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/windup%2Fwindup-operator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/windup%2Fwindup-operator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/windup%2Fwindup-operator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/windup%2Fwindup-operator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/windup","download_url":"https://codeload.github.com/windup/windup-operator/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253798203,"owners_count":21966027,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-18T08:12:14.236Z","updated_at":"2025-05-12T18:31:49.412Z","avatar_url":"https://github.com/windup.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Local development\n\n## Minikube\n\nStart minikube\n\n```shell\nminikube start --cpus=8 --memory=10g\nminikube addons enable ingress\n```\n\n## Setup CDRs\n\n```shell\nmvn clean package -DskipTests\nkubectl apply -f target/kubernetes/windups.windup.jboss.org-v1.yml\n```\n\n## Start server in dev mode\n\n```shell\nmvn compile quarkus:dev\n```\n\n## Instantiate Windup\n\n```shell\nkubectl apply -f scripts/windup.yaml\n```\n\nAt this point the container images will be generated by the operator.\n\n# Test Operator in OCP\n\nCreate operator container:\n\n```shell\nmvn clean package -DskipTests \\\n-Dquarkus.native.container-build=true \\\n-Dquarkus.container-image.build=true \\\n-Dquarkus.container-image.push=false \\\n-Dquarkus.container-image.registry=quay.io \\\n-Dquarkus.container-image.group=$USER \\\n-Dquarkus.container-image.name=windup-operator \\\n-Dquarkus.operator-sdk.bundle.package-name=windup-operator \\\n-Dquarkus.operator-sdk.bundle.channels=alpha \\\n-Dquarkus.application.version=test \\\n-P native\npodman push quay.io/$USER/windup-operator:test\n```\n\nEnrich bundle with cluster permissions (util only if generating a catalog for OCP)\n\n```shell\ngroovy scripts/enrichCSV.groovy target/bundle/windup-operator/manifests/windup-operator.clusterserviceversion.yaml\n```\n\nCreate bundle:\n\n```shell\nBUNDLE_IMAGE=quay.io/$USER/windup-operator-bundle:test\npodman build -t $BUNDLE_IMAGE -f target/bundle/windup-operator/bundle.Dockerfile target/bundle/windup-operator\npodman push $BUNDLE_IMAGE\n```\n\nCreate catalog image:\n\n```shell\nCATALOG_IMAGE=quay.io/$USER/windup-operator-catalog:test\nopm index add \\\n  --bundles $BUNDLE_IMAGE \\\n  --tag $CATALOG_IMAGE \\\n  --build-tool podman\npodman push $CATALOG_IMAGE\n```\n\nCreate catalog:\n\n```shell\ncat \u003c\u003cEOF | kubectl apply -f -\napiVersion: operators.coreos.com/v1alpha1\nkind: CatalogSource\nmetadata:\n  name: windup-catalog-source\n  namespace: openshift-marketplace\nspec:\n  sourceType: grpc\n  image: $CATALOG_IMAGE\nEOF\n```\n\nAt this point you can see the Operator in the marketplace of OCP ready for you to test it.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwindup%2Fwindup-operator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwindup%2Fwindup-operator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwindup%2Fwindup-operator/lists"}