Add PackageSource definitions for OpenSearch

Add operator and application PackageSource CRs to expose OpenSearch
in the Cozystack platform:
- opensearch-operator: operator deployment in cozy-opensearch-operator namespace
- opensearch-application: app + resource definition with cozy-lib integration

This enables OpenSearch to appear in the platform dashboard and be
deployed by tenants.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Signed-off-by: Matthieu <matthieu@hidora.com>
This commit is contained in:
Matthieu 2026-02-16 22:28:35 +01:00
parent 25ff583f34
commit 4e59e5e656
No known key found for this signature in database
2 changed files with 50 additions and 0 deletions

View file

@ -0,0 +1,28 @@
---
apiVersion: cozystack.io/v1alpha1
kind: PackageSource
metadata:
name: cozystack.opensearch-application
spec:
sourceRef:
kind: OCIRepository
name: cozystack-packages
namespace: cozy-system
path: /
variants:
- name: default
dependsOn:
- cozystack.networking
- cozystack.opensearch-operator
libraries:
- name: cozy-lib
path: library/cozy-lib
components:
- name: opensearch
path: apps/opensearch
libraries: ["cozy-lib"]
- name: opensearch-rd
path: system/opensearch-rd
install:
namespace: cozy-system
releaseName: opensearch-rd

View file

@ -0,0 +1,22 @@
---
apiVersion: cozystack.io/v1alpha1
kind: PackageSource
metadata:
name: cozystack.opensearch-operator
spec:
sourceRef:
kind: OCIRepository
name: cozystack-packages
namespace: cozy-system
path: /
variants:
- name: default
dependsOn:
- cozystack.networking
- cozystack.prometheus-operator-crds
components:
- name: opensearch-operator
path: system/opensearch-operator
install:
namespace: cozy-opensearch-operator
releaseName: opensearch-operator