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:
parent
25ff583f34
commit
4e59e5e656
2 changed files with 50 additions and 0 deletions
28
packages/core/platform/sources/opensearch-application.yaml
Normal file
28
packages/core/platform/sources/opensearch-application.yaml
Normal 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
|
||||
22
packages/core/platform/sources/opensearch-operator.yaml
Normal file
22
packages/core/platform/sources/opensearch-operator.yaml
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue