diff --git a/charts/adhoc-redis/v0.1.3/.helmignore b/charts/adhoc-redis/v0.1.3/.helmignore deleted file mode 100644 index 0e8a0eb..0000000 --- a/charts/adhoc-redis/v0.1.3/.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/adhoc-redis/v0.1.3/Chart.yaml b/charts/adhoc-redis/v0.1.3/Chart.yaml deleted file mode 100644 index 0de7785..0000000 --- a/charts/adhoc-redis/v0.1.3/Chart.yaml +++ /dev/null @@ -1,24 +0,0 @@ -annotations: - category: DevOps -apiVersion: v2 -name: adhoc-redis -description: "Redis for odoo sessions" - -type: application - -version: 0.1.3 - -appVersion: "6-alpine" - -home: "https://github.com/adhoc-dev/helm-charts" -sources: - - "https://github.com/adhoc-dev/" -maintainers: - - name: dbollini - email: dib@adhoc.com.ar - - name: jjscarafia - email: jjs@adhoc.com.ar - - name: azacchino - email: az@adhoc.com.ar - -icon: "https://github.com/adhoc-dev/helm-charts/raw/master/img/Redis_Logo.svg" diff --git a/charts/adhoc-redis/v0.1.3/app-readme.md b/charts/adhoc-redis/v0.1.3/app-readme.md deleted file mode 100644 index 807ed82..0000000 --- a/charts/adhoc-redis/v0.1.3/app-readme.md +++ /dev/null @@ -1,3 +0,0 @@ -# Redis - -Redis es un sistema de almacenamiento de datos en memoria de alto rendimiento que se utiliza para la gestión y recuperación eficiente de datos. Actúa como una base de datos en memoria que permite almacenar y acceder a diversos tipos de datos estructurados, como cadenas, listas, conjuntos, mapas hash y conjuntos ordenados. Su arquitectura optimizada y su uso de estructuras de datos en memoria hacen que Redis sea extremadamente rápido y eficiente en la lectura y escritura de datos. En el contexto de Odoo, se utiliza como una caché para almacenar en memoria información clave y acelerar el acceso a los datos requeridos por la aplicación, mejorando así el rendimiento general del sistema. diff --git a/charts/adhoc-redis/v0.1.3/questions.yml b/charts/adhoc-redis/v0.1.3/questions.yml deleted file mode 100644 index 1964a0d..0000000 --- a/charts/adhoc-redis/v0.1.3/questions.yml +++ /dev/null @@ -1,51 +0,0 @@ -questions: - # NodeTag - Affinity - - variable: nodeTag - group: "Resources" - label: "Node tag for node affinity (nodeTag)" - description: "Tag to schedule pods in nodes" - type: "string" - required: true - default: "Prod" - - # Pods limits and requests - - variable: resources.requests.cpu - group: "Resources" - label: "Pods CPU Request" - description: "Pods CPU Request" - type: "string" - required: true - default: "300m" - - variable: resources.requests.memory - group: "Resources" - label: "Pods Memory Request" - description: "Pods Memory Request" - type: "string" - required: true - default: "3Gi" - - # Redis - Arguments - - variable: redis.arguments.maxclients - group: "Arguments" - label: "Maximum number of clients" - type: "int" - required: true - default: 100000 - - variable: redis.arguments.appendonly - group: "Arguments" - label: "Append Only" - description: "yes or no" - type: "string" - required: true - default: "yes" - - variable: redis.arguments.requirepass - group: "Arguments" - label: "Password" - type: "password" - required: true - - variable: redis.port - group: "Arguments" - label: "port" - type: "int" - default: 6379 - required: true diff --git a/charts/adhoc-redis/v0.1.3/schedule.yml b/charts/adhoc-redis/v0.1.3/schedule.yml deleted file mode 100644 index aa644b1..0000000 --- a/charts/adhoc-redis/v0.1.3/schedule.yml +++ /dev/null @@ -1,8 +0,0 @@ -apiVersion: scheduling.k8s.io/v1 -kind: PriorityClass -metadata: - name: high-priority -value: 1000000 -preemptionPolicy: Never -globalDefault: false -description: "Esta clase de Prioridad Alta sólo aplica para recursos críticos (redis)" diff --git a/charts/adhoc-redis/v0.1.3/templates/NOTES.txt b/charts/adhoc-redis/v0.1.3/templates/NOTES.txt deleted file mode 100644 index e69de29..0000000 diff --git a/charts/adhoc-redis/v0.1.3/templates/_helpers.tpl b/charts/adhoc-redis/v0.1.3/templates/_helpers.tpl deleted file mode 100644 index 996e123..0000000 --- a/charts/adhoc-redis/v0.1.3/templates/_helpers.tpl +++ /dev/null @@ -1,62 +0,0 @@ -{{/* -Expand the name of the chart. -*/}} -{{- define "adhoc-redis.name" -}} -{{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" }} -{{- end }} - -{{/* -Create a default fully qualified app name. -We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec). -If release name contains chart name it will be used as a full name. -*/}} -{{- define "adhoc-redis.fullname" -}} -{{- if .Values.fullnameOverride }} -{{- .Values.fullnameOverride | trunc 63 | trimSuffix "-" }} -{{- else }} -{{- $name := default .Chart.Name .Values.nameOverride }} -{{- if contains $name .Release.Name }} -{{- .Release.Name | trunc 63 | trimSuffix "-" }} -{{- else }} -{{- printf "%s-%s" .Release.Name $name | trunc 63 | trimSuffix "-" }} -{{- end }} -{{- end }} -{{- end }} - -{{/* -Create chart name and version as used by the chart label. -*/}} -{{- define "adhoc-redis.chart" -}} -{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" }} -{{- end }} - -{{/* -Common labels -*/}} -{{- define "adhoc-redis.labels" -}} -helm.sh/chart: {{ include "adhoc-redis.chart" . }} -{{ include "adhoc-redis.selectorLabels" . }} -{{- if .Chart.AppVersion }} -app.kubernetes.io/version: {{ .Chart.AppVersion | quote }} -{{- end }} -app.kubernetes.io/managed-by: {{ .Release.Service }} -{{- end }} - -{{/* -Selector labels -*/}} -{{- define "adhoc-redis.selectorLabels" -}} -app.kubernetes.io/name: {{ include "adhoc-redis.name" . }} -app.kubernetes.io/instance: {{ .Release.Name }} -{{- end }} - -{{/* -Create the name of the service account to use -*/}} -{{- define "adhoc-redis.serviceAccountName" -}} -{{- if .Values.serviceAccount.create }} -{{- default (include "adhoc-redis.fullname" .) .Values.serviceAccount.name }} -{{- else }} -{{- default "default" .Values.serviceAccount.name }} -{{- end }} -{{- end }} diff --git a/charts/adhoc-redis/v0.1.3/templates/deployment.yaml b/charts/adhoc-redis/v0.1.3/templates/deployment.yaml deleted file mode 100644 index 6e487a8..0000000 --- a/charts/adhoc-redis/v0.1.3/templates/deployment.yaml +++ /dev/null @@ -1,77 +0,0 @@ -apiVersion: apps/v1 -kind: Deployment -metadata: - name: {{ include "adhoc-redis.fullname" . }} - labels: - {{- include "adhoc-redis.labels" . | nindent 4 }} -spec: - replicas: 1 - selector: - matchLabels: - {{- include "adhoc-redis.selectorLabels" . | nindent 6 }} - template: - metadata: - {{- with .Values.podAnnotations }} - annotations: - {{- toYaml . | nindent 8 }} - {{- end }} - labels: - {{- include "adhoc-redis.selectorLabels" . | nindent 8 }} - spec: - {{- with .Values.imagePullSecrets }} - imagePullSecrets: - {{- toYaml . | nindent 8 }} - {{- end }} - serviceAccountName: {{ include "adhoc-redis.serviceAccountName" . }} - securityContext: - {{- toYaml .Values.podSecurityContext | nindent 8 }} - priorityClassName: {{ .Values.podPriority.priorityClassName }} - containers: - - name: {{ .Chart.Name }} - securityContext: - {{- toYaml .Values.securityContext | nindent 12 }} - image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}" - imagePullPolicy: {{ .Values.image.pullPolicy }} - command: ["redis-server"] - {{- if .Values.redis.arguments }} - args: - {{- range $key, $value := .Values.redis.arguments }} - - "--{{ $key }}" - {{- if $value }} - - "{{ $value }}" - {{- end }} - {{- end }} - {{- end }} - ports: - - name: redis - containerPort: {{ .Values.redis.port }} - protocol: TCP - readinessProbe: - tcpSocket: - port: {{ .Values.redis.port }} - initialDelaySeconds: 60 - periodSeconds: 60 - livenessProbe: - tcpSocket: - port: {{ .Values.redis.port }} - initialDelaySeconds: 60 - periodSeconds: 30 - resources: - {{- toYaml .Values.resources | nindent 12 }} - {{- with .Values.nodeSelector }} - nodeSelector: - {{- toYaml . | nindent 8 }} - {{- end }} - affinity: - nodeAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - nodeSelectorTerms: - - matchExpressions: - - key: {{ .Values.nodeTag }} - operator: In - values: - - "true" - {{- with .Values.tolerations }} - tolerations: - {{- toYaml . | nindent 8 }} - {{- end }} diff --git a/charts/adhoc-redis/v0.1.3/templates/service.yaml b/charts/adhoc-redis/v0.1.3/templates/service.yaml deleted file mode 100644 index 9a27517..0000000 --- a/charts/adhoc-redis/v0.1.3/templates/service.yaml +++ /dev/null @@ -1,15 +0,0 @@ -apiVersion: v1 -kind: Service -metadata: - name: {{ include "adhoc-redis.fullname" . }} - labels: - {{- include "adhoc-redis.labels" . | nindent 4 }} -spec: - type: ClusterIP - ports: - - port: {{ .Values.service.port }} - targetPort: redis - protocol: TCP - name: redis - selector: - {{- include "adhoc-redis.selectorLabels" . | nindent 4 }} diff --git a/charts/adhoc-redis/v0.1.3/templates/serviceaccount.yaml b/charts/adhoc-redis/v0.1.3/templates/serviceaccount.yaml deleted file mode 100644 index 2958bad..0000000 --- a/charts/adhoc-redis/v0.1.3/templates/serviceaccount.yaml +++ /dev/null @@ -1,12 +0,0 @@ -{{- if .Values.serviceAccount.create -}} -apiVersion: v1 -kind: ServiceAccount -metadata: - name: {{ include "adhoc-redis.serviceAccountName" . }} - labels: - {{- include "adhoc-redis.labels" . | nindent 4 }} - {{- with .Values.serviceAccount.annotations }} - annotations: - {{- toYaml . | nindent 4 }} - {{- end }} -{{- end }} diff --git a/charts/adhoc-redis/v0.1.3/values.yaml b/charts/adhoc-redis/v0.1.3/values.yaml deleted file mode 100644 index 1942f7d..0000000 --- a/charts/adhoc-redis/v0.1.3/values.yaml +++ /dev/null @@ -1,71 +0,0 @@ -# Default values for adhoc-redis. -# This is a YAML-formatted file. -# Declare variables to be passed into your templates. - -replicaCount: 1 - -image: - repository: redis - pullPolicy: IfNotPresent - # Overrides the image tag whose default is the chart appVersion. - tag: "" - -imagePullSecrets: [] -nameOverride: "" -fullnameOverride: "" - -serviceAccount: - # Specifies whether a service account should be created - create: true - # Annotations to add to the service account - annotations: {} - # The name of the service account to use. - # If not set and create is true, a name is generated using the fullname template - name: "" - -podAnnotations: {} - -podSecurityContext: - {} - # fsGroup: 2000 - -securityContext: - {} - # capabilities: - # drop: - # - ALL - # readOnlyRootFilesystem: true - # runAsNonRoot: true - # runAsUser: 1000 - -service: - type: ClusterIP - port: 6379 - -resources: - # We usually recommend not to specify default resources and to leave this as a conscious - # choice for the user. This also increases chances charts run on environments with little - # resources, such as Minikube. If you do want to specify resources, uncomment the following - # lines, adjust them as necessary, and remove the curly braces after 'resources:'. - # limits: - # cpu: 100m - # memory: 128Mi - requests: - cpu: 300m - memory: 3Gi - -nodeSelector: {} -tolerations: [] - -nodeTag: "Prod" - -redis: - arguments: - maxclients: 100000 - appendonly: "yes" - requirepass: "asd" - port: 6379 - -podPriority: - enabled: true - priorityClassName: "high-priority"