# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements.  See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License.  You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

apiVersion: v2
name: skywalking-showcase
home: https://skywalking.apache.org
version: 0.0.0
description: Apache SkyWalking showcase
icon: https://raw.githubusercontent.com/apache/skywalking-kubernetes/master/logo/sw-logo-for-chart.jpg
sources:
  - https://github.com/apache/skywalking-showcase
dependencies:
  - name: skywalking-helm
    alias: skywalking
    version: 0.0.0-50fc4819a119706e4da9bcff9c55151a729406be
    repository: oci://ghcr.io/apache/skywalking-kubernetes

    # @feature: java-agent-injector; the java agent injector is a component of the swck operator, so we need to deploy the swck operator firstly
  - name: skywalking-helm-swck-operator
    alias: swck
    version: 0.0.0-50fc4819a119706e4da9bcff9c55151a729406be
    repository: oci://ghcr.io/apache/skywalking-kubernetes
    condition: features.javaAgentInjector.enabled

    # @feature: function; install open function resources
  - name: openfunction
    version: 0.5.0
    repository: https://openfunction.github.io/charts
    condition: openfunction.enabled

  - name: kube-state-metrics
    version: 5.0.1
    repository: https://prometheus-community.github.io/helm-charts
    condition: kube-state-metrics.enabled

  - name: prometheus-elasticsearch-exporter
    version: 5.1.1
    repository: https://prometheus-community.github.io/helm-charts
    condition: prometheus-elasticsearch-exporter.enabled

  - name: rabbitmq
    version: 12.0.1
    repository: https://charts.bitnami.com/bitnami
    condition: rabbitmq.enabled

  - name: mongodb
    version: 13.16.0
    repository: https://charts.bitnami.com/bitnami
    condition: mongodb.enabled

  - name: base
    version: 1.14.4
    repository: https://istio-release.storage.googleapis.com/charts
    condition: istio.enabled

  - name: istiod
    version: 1.14.4
    repository: https://istio-release.storage.googleapis.com/charts
    condition: istio.enabled

  - name: opentelemetry-collector
    version: 0.51.1
    repository: https://open-telemetry.github.io/opentelemetry-helm-charts
    condition: opentelemetry.enabled
