From 540525806957c6e961bd0dca7b8e287edecf4ddc Mon Sep 17 00:00:00 2001 From: dvirlabs Date: Fri, 16 May 2025 11:42:38 +0300 Subject: [PATCH] Replace all to oramap --- charts/ora-map/.helmignore | 23 -------------- charts/ora-map/Chart.yaml | 24 --------------- charts/ora-map/templates/_helpers.tpl | 11 ------- charts/ora-map/templates/deployment.yaml | 38 ------------------------ charts/ora-map/templates/ingress.yaml | 33 -------------------- charts/ora-map/templates/service.yaml | 19 ------------ charts/ora-map/values.yaml | 22 -------------- 7 files changed, 170 deletions(-) delete mode 100644 charts/ora-map/.helmignore delete mode 100644 charts/ora-map/Chart.yaml delete mode 100644 charts/ora-map/templates/_helpers.tpl delete mode 100644 charts/ora-map/templates/deployment.yaml delete mode 100644 charts/ora-map/templates/ingress.yaml delete mode 100644 charts/ora-map/templates/service.yaml delete mode 100644 charts/ora-map/values.yaml diff --git a/charts/ora-map/.helmignore b/charts/ora-map/.helmignore deleted file mode 100644 index 0e8a0eb..0000000 --- a/charts/ora-map/.helmignore +++ /dev/null @@ -1,23 +0,0 @@ -# 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/ diff --git a/charts/ora-map/Chart.yaml b/charts/ora-map/Chart.yaml deleted file mode 100644 index c7a98b5..0000000 --- a/charts/ora-map/Chart.yaml +++ /dev/null @@ -1,24 +0,0 @@ -apiVersion: v2 -name: oramap -description: A 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.1.0 - -# 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. -# It is recommended to use it with quotes. -appVersion: "1.16.0" diff --git a/charts/ora-map/templates/_helpers.tpl b/charts/ora-map/templates/_helpers.tpl deleted file mode 100644 index 1767bb5..0000000 --- a/charts/ora-map/templates/_helpers.tpl +++ /dev/null @@ -1,11 +0,0 @@ -{{- define "oramap.name" -}} -{{ .Chart.Name }} -{{- end }} - -{{- define "oramap.fullname" -}} -{{ include "oramap.name" . }}-{{ .Release.Name }} -{{- end }} - -{{- define "oramap.chart" -}} -{{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }} -{{- end }} \ No newline at end of file diff --git a/charts/ora-map/templates/deployment.yaml b/charts/ora-map/templates/deployment.yaml deleted file mode 100644 index e6eff7f..0000000 --- a/charts/ora-map/templates/deployment.yaml +++ /dev/null @@ -1,38 +0,0 @@ -apiVersion: apps/v1 -kind: Deployment -metadata: - name: {{ include "oramap.fullname" . }} - labels: - app: {{ include "oramap.name" . }} - chart: {{ include "oramap.chart" . }} - release: {{ .Release.Name }} - heritage: {{ .Release.Service }} -spec: - replicas: {{ .Values.replicaCount }} - selector: - matchLabels: - app: {{ include "oramap.name" . }} - release: {{ .Release.Name }} - template: - metadata: - labels: - app: {{ include "oramap.name" . }} - release: {{ .Release.Name }} - spec: - containers: - - name: {{ .Chart.Name }} - image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}" - imagePullPolicy: {{ .Values.image.pullPolicy }} - ports: - - containerPort: {{ .Values.containerPort }} - name: http - livenessProbe: - httpGet: - path: / - port: http - readinessProbe: - httpGet: - path: / - port: http - resources: - {{- toYaml .Values.resources | nindent 12 }} diff --git a/charts/ora-map/templates/ingress.yaml b/charts/ora-map/templates/ingress.yaml deleted file mode 100644 index 04dabe8..0000000 --- a/charts/ora-map/templates/ingress.yaml +++ /dev/null @@ -1,33 +0,0 @@ -{{- if .Values.ingress.enabled }} -apiVersion: networking.k8s.io/v1 -kind: Ingress -metadata: - name: {{ include "oramap.fullname" . }} - annotations: - {{- if .Values.ingress.className }} - kubernetes.io/ingress.class: {{ .Values.ingress.className }} - {{- end }} -spec: - {{- if .Values.ingress.className }} - ingressClassName: {{ .Values.ingress.className }} - {{- end }} - rules: - {{- range .Values.ingress.hosts }} - - host: {{ .host }} - http: - paths: - {{- range .paths }} - - path: {{ .path }} - pathType: {{ .pathType }} - backend: - service: - name: {{ include "oramap.fullname" $ }} - port: - number: {{ $.Values.service.port }} - {{- end }} - {{- end }} - {{- if .Values.ingress.tls }} - tls: - {{- toYaml .Values.ingress.tls | nindent 4 }} - {{- end }} -{{- end }} diff --git a/charts/ora-map/templates/service.yaml b/charts/ora-map/templates/service.yaml deleted file mode 100644 index da296c8..0000000 --- a/charts/ora-map/templates/service.yaml +++ /dev/null @@ -1,19 +0,0 @@ -apiVersion: v1 -kind: Service -metadata: - name: {{ include "oramap.fullname" . }} - labels: - app: {{ include "oramap.name" . }} - chart: {{ include "oramap.chart" . }} - release: {{ .Release.Name }} - heritage: {{ .Release.Service }} -spec: - type: {{ .Values.service.type }} - ports: - - port: {{ .Values.service.port }} - targetPort: {{ .Values.containerPort }} - protocol: TCP - name: http - selector: - app: {{ include "oramap.name" . }} - release: {{ .Release.Name }} diff --git a/charts/ora-map/values.yaml b/charts/ora-map/values.yaml deleted file mode 100644 index a110b9d..0000000 --- a/charts/ora-map/values.yaml +++ /dev/null @@ -1,22 +0,0 @@ -replicaCount: 1 - -image: - repository: harbor.dvirlabs.com/shay/oramap - tag: "1" - pullPolicy: IfNotPresent - -containerPort: 3000 - -service: - type: ClusterIP - port: 80 - -ingress: - enabled: true - className: "traefik" - hosts: - - host: oramap.dvirlabs.com - paths: - - path: / - pathType: Prefix - tls: []