Skip to content

Commit 212afd9

Browse files
authored
Update NA Helm Chart (#64)
Merge clean version of the na helm chart
1 parent bcd8f80 commit 212afd9

File tree

9 files changed

+162
-0
lines changed

9 files changed

+162
-0
lines changed
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
apiVersion: v1
2+
name: notification-automation
3+
description: A Helm chart for Notification Automation
4+
maintainers:
5+
- name: eoepca
6+
kubeVersion: ">=1.31.0"
7+
# A chart can be either an 'application' or a 'library' chart.
8+
#
9+
# Application charts are a collection of templates that can be packaged into versioned archives
10+
# to be deployed.
11+
#
12+
# Library charts provide useful utilities or functions for the chart developer. They're included as
13+
# a dependency of application charts to inject those utilities and functions into the rendering
14+
# pipeline. Library charts do not define any templates and therefore cannot be deployed.
15+
type: application
16+
17+
# This is the chart version. This version number should be incremented each time you make changes
18+
# to the chart and its templates, including the app version.
19+
# Versions are expected to follow Semantic Versioning (https://semver.org/)
20+
version: 0.1.0
21+
22+
# This is the version number of the application being deployed. This version number should be
23+
# incremented each time you make changes to the application. Versions are not expected to
24+
# follow Semantic Versioning. They should reflect the version the application is using.
25+
appVersion: 1.0
26+
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
dependencies:
2+
- name: knative-operator
3+
repository: https://knative.github.io/operator
4+
version: v1.19.2
5+
digest: sha256:9a9b75d122adc7aa69112029a8456a276f29a862b26d7dae9b29f9a46404d218
6+
generated: "2025-09-15T11:23:59.885494+03:00"
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{{- if and .Values.eventing.install .Values.eventing.defaultBroker.create }}
2+
apiVersion: eventing.knative.dev/v1
3+
kind: Broker
4+
metadata:
5+
name: {{ .Values.eventing.defaultBroker.name }}
6+
namespace: {{ .Release.Namespace }}
7+
spec: {}
8+
{{- end }}
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{{- if .Values.eventing.install }}
2+
{{- if .Values.crdChecks.enforce }}
3+
{{- $knativeEventingCRD := lookup "apiextensions.k8s.io/v1" "CustomResourceDefinition" "" "knativeeventings.operator.knative.dev" }}
4+
{{- if not $knativeEventingCRD }}
5+
{{- fail "KnativeEventing CRD not found. Please install Knative Operator first." }}
6+
{{- end }}
7+
{{- end }}
8+
{{- end }}
9+
10+
{{- if .Values.serving.install }}
11+
{{- if .Values.crdChecks.enforce }}
12+
{{- $knativeServingCRD := lookup "apiextensions.k8s.io/v1" "CustomResourceDefinition" "" "knativeservings.operator.knative.dev" }}
13+
{{- if not $knativeServingCRD }}
14+
{{- fail "KnativeServing CRD not found. Please install Knative Operator first." }}
15+
{{- end }}
16+
{{- end }}
17+
{{- end }}
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{{- if .Values.eventing.install }}
2+
apiVersion: v1
3+
kind: Namespace
4+
metadata:
5+
name: {{ .Values.eventing.namespace }}
6+
labels:
7+
name: {{ .Values.eventing.namespace }}
8+
{{- end }}
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
{{- if .Values.eventing.install }}
2+
apiVersion: operator.knative.dev/v1beta1
3+
kind: KnativeEventing
4+
metadata:
5+
name: knative-eventing
6+
namespace: {{ .Values.eventing.namespace }}
7+
spec:
8+
config:
9+
config-features:
10+
authentication-oidc: {{ if .Values.eventing.authenticationOidc }}enabled{{ else }}disabled{{ end }}
11+
eventtype-auto-create: enabled
12+
default-ch-webhook:
13+
default-ch-config: |
14+
clusterDefault:
15+
apiVersion: messaging.knative.dev/v1
16+
kind: InMemoryChannel
17+
spec:
18+
delivery:
19+
backoffDelay: PT0.5S
20+
backoffPolicy: exponential
21+
retry: 5
22+
version: {{ .Values.eventing.version }}
23+
{{- end }}
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{{- if .Values.serving.install }}
2+
apiVersion: v1
3+
kind: Namespace
4+
metadata:
5+
name: {{ .Values.serving.namespace }}
6+
labels:
7+
name: {{ .Values.serving.namespace }}
8+
{{- end }}
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
{{- if .Values.serving.install }}
2+
apiVersion: operator.knative.dev/v1beta1
3+
kind: KnativeServing
4+
metadata:
5+
name: knative-serving
6+
namespace: {{ .Values.serving.namespace }}
7+
spec:
8+
config:
9+
{{- if and .Values.serving.domain (ne .Values.serving.domain "") }}
10+
domain:
11+
{{ .Values.serving.domain }}: ""
12+
{{- end }}
13+
network:
14+
ingress-class: kourier.ingress.networking.knative.dev
15+
ingress:
16+
kourier:
17+
enabled: true
18+
version: {{ .Values.serving.version }}
19+
{{- end }}
Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
# Default values for notification-automation.
2+
# This is a YAML-formatted file.
3+
# Declare variables to be substituted into your templates.
4+
5+
replicaCount: 1
6+
7+
# Control CRD presence checks (used by templates/knative-crd-check.yaml)
8+
crdChecks:
9+
# When true, chart will verify Knative Operator CRDs exist in the cluster and fail if missing.
10+
# Keep this false for `helm template` or other offline renders where `lookup` cannot access the cluster.
11+
enforce: false
12+
13+
# Knative Eventing configuration
14+
eventing:
15+
# Specifies whether KnativeEventing should be installed
16+
install: false
17+
# Version of KnativeEventing to install
18+
version: "1.18.1"
19+
# Namespace where KnativeEventing should be installed
20+
namespace: knative-eventing
21+
# Enable OIDC authentication
22+
authenticationOidc: true
23+
# Default Broker configuration
24+
defaultBroker:
25+
# Specifies whether a default Broker should be created
26+
create: true
27+
# Name of the default Broker
28+
name: default
29+
30+
# Knative Serving configuration
31+
serving:
32+
# Specifies whether KnativeServing should be installed
33+
install: false
34+
# Version of KnativeServing to install
35+
version: "1.18.0"
36+
# Namespace where KnativeServing should be installed
37+
namespace: knative-serving
38+
# Domain configuration
39+
domain: functions.eoepca.org
40+
41+
42+
43+
image:
44+
repository: ""
45+
pullPolicy: IfNotPresent
46+
# Overrides the image tag whose default is the chart appVersion.
47+
tag: ""

0 commit comments

Comments
 (0)