Commit 64f9d793 authored by Dimitrios Giannopoulos's avatar Dimitrios Giannopoulos
Browse files

feat: added prometheus and grafana chart configuration

parent ec9fe291
Loading
Loading
Loading
Loading
Loading
+11 −0
Original line number Original line Diff line number Diff line
@@ -21,3 +21,14 @@ version: 2.0.0
# incremented each time you make changes to the application. Versions are not expected to
# 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.
# follow Semantic Versioning. They should reflect the version the application is using.
appVersion: 2025Q2-SNAPSHOT
appVersion: 2025Q2-SNAPSHOT

dependencies:
  - name: grafana
    version: "8.11.4"
    repository: "https://grafana.github.io/helm-charts"
    condition: grafana.enabled
  - name: prometheus
    version: "27.8.0"
    repository: "https://prometheus-community.github.io/helm-charts"
    condition: prometheus.enabled
+9 −5
Original line number Original line Diff line number Diff line
@@ -3,7 +3,7 @@ kind: Deployment
metadata:	
metadata:	
  namespace: {{ .Release.Namespace }}
  namespace: {{ .Release.Namespace }}
  labels:
  labels:
    app: {{ include "openslice.fullname" . }}
    app: openslice
    org.etsi.osl.service: artemis
    org.etsi.osl.service: artemis
    chart: "{{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}"
    chart: "{{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}"
    {{- include "openslice.labels" . | nindent 4 }}
    {{- include "openslice.labels" . | nindent 4 }}
@@ -14,15 +14,19 @@ spec:
  {{- end }}
  {{- end }}
  selector:
  selector:
    matchLabels:
    matchLabels:
      app: {{ include "openslice.fullname" . }}
      app: openslice
      org.etsi.osl.service: artemis
      org.etsi.osl.service: artemis
      {{- include "openslice.selectorLabels" . | nindent 6 }}
      {{- include "openslice.selectorLabels" . | nindent 6 }}
  template:
  template:
    metadata:
    metadata:
      labels:
      labels:
        app: {{ include "openslice.fullname" . }}
        app: openslice
        org.etsi.osl.service: artemis
        org.etsi.osl.service: artemis
        {{- include "openslice.selectorLabels" . | nindent 8 }}
        {{- include "openslice.selectorLabels" . | nindent 8 }}
      annotations:
        {{- with .Values.artemis.podAnnotations }}
        {{- toYaml . | nindent 4 }}
        {{- end }}
    spec:
    spec:
      containers:
      containers:
        - image: "{{ .Values.image.artemis.repository }}:{{ .Values.image.artemis.tag | default .Chart.AppVersion }}"
        - image: "{{ .Values.image.artemis.repository }}:{{ .Values.image.artemis.tag | default .Chart.AppVersion }}"
@@ -48,7 +52,7 @@ kind: Service
metadata:
metadata:
  namespace: {{ .Release.Namespace }}
  namespace: {{ .Release.Namespace }}
  labels:
  labels:
    app: {{ include "openslice.fullname" . }}
    app: openslice
    org.etsi.osl.service: artemis
    org.etsi.osl.service: artemis
    chart: "{{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}"
    chart: "{{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}"
    {{- include "openslice.labels" . | nindent 4 }}
    {{- include "openslice.labels" . | nindent 4 }}
@@ -65,6 +69,6 @@ spec:
      port: 61613
      port: 61613
      targetPort: 61613
      targetPort: 61613
  selector:
  selector:
    app: {{ include "openslice.fullname" . }}
    app: openslice
    org.etsi.osl.service: artemis
    org.etsi.osl.service: artemis
    {{- include "openslice.selectorLabels" . | nindent 4 }}
    {{- include "openslice.selectorLabels" . | nindent 4 }}
+9 −5
Original line number Original line Diff line number Diff line
@@ -3,7 +3,7 @@ kind: Deployment
metadata:
metadata:
  namespace: {{ .Release.Namespace }}
  namespace: {{ .Release.Namespace }}
  labels:
  labels:
    app: {{ include "openslice.fullname" . }}
    app: openslice
    org.etsi.osl.service: blockdiag
    org.etsi.osl.service: blockdiag
    chart: "{{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}"
    chart: "{{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}"
    {{- include "openslice.labels" . | nindent 4 }}
    {{- include "openslice.labels" . | nindent 4 }}
@@ -14,15 +14,19 @@ spec:
  {{- end }}
  {{- end }}
  selector:
  selector:
    matchLabels:
    matchLabels:
      app: {{ include "openslice.fullname" . }}
      app: openslice
      org.etsi.osl.service: blockdiag
      org.etsi.osl.service: blockdiag
      {{- include "openslice.selectorLabels" . | nindent 6 }}
      {{- include "openslice.selectorLabels" . | nindent 6 }}
  template:
  template:
    metadata:
    metadata:
      labels:
      labels:
        app: {{ include "openslice.fullname" . }}
        app: openslice
        org.etsi.osl.service: blockdiag
        org.etsi.osl.service: blockdiag
        {{- include "openslice.selectorLabels" . | nindent 8 }}
        {{- include "openslice.selectorLabels" . | nindent 8 }}
      annotations:
        {{- with .Values.blockdiag.podAnnotations }}
        {{- toYaml . | nindent 4 }}
        {{- end }}
    spec:
    spec:
      containers:
      containers:
        - image: "{{ .Values.image.blockdiag.repository }}:{{ .Values.image.blockdiag.tag | default .Chart.AppVersion }}"
        - image: "{{ .Values.image.blockdiag.repository }}:{{ .Values.image.blockdiag.tag | default .Chart.AppVersion }}"
@@ -39,7 +43,7 @@ kind: Service
metadata:
metadata:
  namespace: {{ .Release.Namespace }}
  namespace: {{ .Release.Namespace }}
  labels:
  labels:
    app: {{ include "openslice.fullname" . }}
    app: openslice
    org.etsi.osl.service: blockdiag
    org.etsi.osl.service: blockdiag
    chart: "{{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}"
    chart: "{{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}"
    {{- include "openslice.labels" . | nindent 4 }}
    {{- include "openslice.labels" . | nindent 4 }}
@@ -50,6 +54,6 @@ spec:
      targetPort: 8001
      targetPort: 8001
      port: 8001
      port: 8001
  selector:
  selector:
    app: {{ include "openslice.fullname" . }}
    app: openslice
    org.etsi.osl.service: blockdiag
    org.etsi.osl.service: blockdiag
    {{- include "openslice.selectorLabels" . | nindent 4 }}
    {{- include "openslice.selectorLabels" . | nindent 4 }}
+9 −5
Original line number Original line Diff line number Diff line
@@ -3,7 +3,7 @@ kind: Deployment
metadata:	
metadata:	
  namespace: {{ .Release.Namespace }}
  namespace: {{ .Release.Namespace }}
  labels:
  labels:
    app: {{ include "openslice.fullname" . }}
    app: openslice
    org.etsi.osl.service: bugzilla
    org.etsi.osl.service: bugzilla
    chart: "{{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}"
    chart: "{{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}"
    {{- include "openslice.labels" . | nindent 4 }}
    {{- include "openslice.labels" . | nindent 4 }}
@@ -14,15 +14,19 @@ spec:
  {{- end }}
  {{- end }}
  selector:
  selector:
    matchLabels:
    matchLabels:
      app: {{ include "openslice.fullname" . }}
      app: openslice
      org.etsi.osl.service: bugzilla
      org.etsi.osl.service: bugzilla
      {{- include "openslice.selectorLabels" . | nindent 6 }}
      {{- include "openslice.selectorLabels" . | nindent 6 }}
  template:
  template:
    metadata:
    metadata:
      labels:
      labels:
        app: {{ include "openslice.fullname" . }}
        app: openslice
        org.etsi.osl.service: bugzilla
        org.etsi.osl.service: bugzilla
        {{- include "openslice.selectorLabels" . | nindent 8 }}
        {{- include "openslice.selectorLabels" . | nindent 8 }}
      annotations:
        {{- with .Values.bugzilla.podAnnotations }}
        {{- toYaml . | nindent 4 }}
        {{- end }}
    spec:
    spec:
      containers:
      containers:
        - image: "{{ .Values.image.bugzilla.repository }}:{{ .Values.image.bugzilla.tag | default .Chart.AppVersion }}"
        - image: "{{ .Values.image.bugzilla.repository }}:{{ .Values.image.bugzilla.tag | default .Chart.AppVersion }}"
@@ -50,7 +54,7 @@ kind: Service
metadata:
metadata:
  namespace: {{ .Release.Namespace }}
  namespace: {{ .Release.Namespace }}
  labels:
  labels:
    app: {{ include "openslice.fullname" . }}
    app: openslice
    org.etsi.osl.service: bugzilla
    org.etsi.osl.service: bugzilla
    chart: "{{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}"
    chart: "{{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}"
    {{- include "openslice.labels" . | nindent 4 }}
    {{- include "openslice.labels" . | nindent 4 }}
@@ -61,6 +65,6 @@ spec:
      port: 13010
      port: 13010
      targetPort: 13010
      targetPort: 13010
  selector:
  selector:
    app: {{ include "openslice.fullname" . }}
    app: openslice
    org.etsi.osl.service: bugzilla
    org.etsi.osl.service: bugzilla
    {{- include "openslice.selectorLabels" . | nindent 4 }}
    {{- include "openslice.selectorLabels" . | nindent 4 }}
+9 −5
Original line number Original line Diff line number Diff line
@@ -3,7 +3,7 @@ kind: Deployment
metadata:	
metadata:	
  namespace: {{ .Release.Namespace }}
  namespace: {{ .Release.Namespace }}
  labels:
  labels:
    app: {{ include "openslice.fullname" . }}
    app: openslice
    org.etsi.osl.service: centrallog
    org.etsi.osl.service: centrallog
    chart: "{{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}"
    chart: "{{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}"
    {{- include "openslice.labels" . | nindent 4 }}
    {{- include "openslice.labels" . | nindent 4 }}
@@ -14,15 +14,19 @@ spec:
  {{- end }}
  {{- end }}
  selector:
  selector:
    matchLabels:
    matchLabels:
      app: {{ include "openslice.fullname" . }}
      app: openslice
      org.etsi.osl.service: centrallog
      org.etsi.osl.service: centrallog
      {{- include "openslice.selectorLabels" . | nindent 6 }}
      {{- include "openslice.selectorLabels" . | nindent 6 }}
  template:
  template:
    metadata:
    metadata:
      labels:
      labels:
        app: {{ include "openslice.fullname" . }}
        app: openslice
        org.etsi.osl.service: centrallog
        org.etsi.osl.service: centrallog
        {{- include "openslice.selectorLabels" . | nindent 8 }}
        {{- include "openslice.selectorLabels" . | nindent 8 }}
      annotations:
        {{- with .Values.centrallog.podAnnotations }}
        {{- toYaml . | nindent 4 }}
        {{- end }}
    spec:
    spec:
      containers:
      containers:
        - image: "{{ .Values.image.centrallog.repository }}:{{ .Values.image.centrallog.tag | default .Chart.AppVersion }}"
        - image: "{{ .Values.image.centrallog.repository }}:{{ .Values.image.centrallog.tag | default .Chart.AppVersion }}"
@@ -48,7 +52,7 @@ kind: Service
metadata:
metadata:
  namespace: {{ .Release.Namespace }}
  namespace: {{ .Release.Namespace }}
  labels:
  labels:
    app: {{ include "openslice.fullname" . }}
    app: openslice
    org.etsi.osl.service: centrallog
    org.etsi.osl.service: centrallog
    chart: "{{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}"
    chart: "{{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}"
    {{- include "openslice.labels" . | nindent 4 }}
    {{- include "openslice.labels" . | nindent 4 }}
@@ -59,7 +63,7 @@ spec:
      targetPort: 13013
      targetPort: 13013
      port: 13013
      port: 13013
  selector:
  selector:
    app: {{ include "openslice.fullname" . }}
    app: openslice
    org.etsi.osl.service: centrallog
    org.etsi.osl.service: centrallog
    {{- include "openslice.selectorLabels" . | nindent 4 }}
    {{- include "openslice.selectorLabels" . | nindent 4 }}
Loading