Commit a171dc83 authored by Christos Tranoris's avatar Christos Tranoris
Browse files

adding helm chart

parent b27fa1a9
Loading
Loading
Loading
Loading
Loading

helm/.helmignore

0 → 100644
+23 −0
Original line number Diff line number Diff line
# Patterns to ignore when building packages.
# This supports shell glob matching, relative path matching, and
# negation (prefixed with !). Only one pattern per line.
.DS_Store
# Common VCS dirs
.git/
.gitignore
.bzr/
.bzrignore
.hg/
.hgignore
.svn/
# Common backup files
*.swp
*.bak
*.tmp
*.orig
*~
# Various IDEs
.project
.idea/
*.tmproj
.vscode/

helm/Chart.yaml

0 → 100644
+23 −0
Original line number Diff line number Diff line
apiVersion: v2
name: oslsylva
description: OSL Sylva Operator Helm chart for Kubernetes

# A chart can be either an 'application' or a 'library' chart.
#
# Application charts are a collection of templates that can be packaged into versioned archives
# to be deployed.
#
# Library charts provide useful utilities or functions for the chart developer. They're included as
# a dependency of application charts to inject those utilities and functions into the rendering
# pipeline. Library charts do not define any templates and therefore cannot be deployed.
type: application

# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.0.1

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
# follow Semantic Versioning. They should reflect the version the application is using.
appVersion: 0.0.1
+19 −0
Original line number Diff line number Diff line
apiVersion: v1
kind: Config
clusters:
- name: development-cluster
  cluster:
    certificate-authority: path/to/ca.crt # Path to certificate authority file
    server: https://123.45.67.89:6443 # Cluster API server address
contexts:
- name: dev-user@development-cluster
  context:
    cluster: development-cluster
    namespace: development # Default namespace
    user: dev-user
current-context: dev-user@development-cluster
users:
- name: dev-user
  user:
    client-certificate: path/to/cert.crt # Path to the client certificate
    client-key: path/to/key.key # Path to the client key
+19 −0
Original line number Diff line number Diff line
apiVersion: v1
kind: Config
clusters:
- name: development-cluster
  cluster:
    certificate-authority: path/to/ca.crt # Path to certificate authority file
    server: https://123.45.67.89:6443 # Cluster API server address
contexts:
- name: dev-user@development-cluster
  context:
    cluster: development-cluster
    namespace: development # Default namespace
    user: dev-user
current-context: dev-user@development-cluster
users:
- name: dev-user
  user:
    client-certificate: path/to/cert.crt # Path to the client certificate
    client-key: path/to/key.key # Path to the client key
+39 −0
Original line number Diff line number Diff line
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
  name: sylvamdresources.controllers.osl.etsi.org  # Name of the CRD
spec:
  group: controllers.osl.etsi.org          # Custom resource group
  names:
    kind: SylvaMDResource      # Name of the resource type
    plural: sylvamdresources           # Plural form of the resource
    singular: sylvamdresource          # Singular form of the resource
  scope: Namespaced            # Namespaced resource
  versions:
    - name: v1alpha1                 # Version of the CRD
      served: true
      storage: true
      schema:
        openAPIV3Schema:
          type: object
          properties:
            spec:
              type: object
              properties:
                valuesyaml:
                  type: string
                clusterControlPlaneReplicas:
                  type: string
                clusterMd0Replicas:
                  type: string
            status:
              type: object
              properties:
                state:
                  type: string
                stateText:
                  type: string
                infoText:
                  type: string
                secret:
                  type: string
Loading