Skip to content

Commit

Permalink
argocd: elasticsearch -> elasticsearch-operator
Browse files Browse the repository at this point in the history
Signed-off-by: Victor Login <batazor@evrone.com>
  • Loading branch information
batazor committed Mar 31, 2023
1 parent 3b25c13 commit 30671bf
Show file tree
Hide file tree
Showing 8 changed files with 102 additions and 22 deletions.
6 changes: 6 additions & 0 deletions ops/Helm/addons/store/elastic-operator/Chart.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
dependencies:
- name: eck-operator
repository: https://helm.elastic.co
version: 2.6.1
digest: sha256:57c413b680d8b034ae2083ae497c9a15391573924777e33c9c09b95dff3e13e9
generated: "2023-03-30T17:54:59.16579+02:00"
24 changes: 24 additions & 0 deletions ops/Helm/addons/store/elastic-operator/Chart.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
apiVersion: v2 # The chart API version (required)
appVersion: "1.0.0" # The version of the app that this contains (optional)
name: elastic-operator # The name of the chart (required)
version: 1.0.0 # A SemVer 2 version (required)
kubeVersion: ">= 1.22.0 || >= v1.22.0-0" # A SemVer range of compatible Kubernetes versions (optional)
keywords: # A list of keywords about this project (optional)
- elasticsearch
- operator
maintainers:
- email: batazor111@gmail.com
name: batazor
url: batazor.ru
engine: gotpl
type: application # It is the type of chart (optional)
deprecated: false # Whether this chart is deprecated (optional, boolean)
dependencies:
- name: eck-operator
alias: elastic-operator
version: 2.6.1
repository: https://helm.elastic.co
condition: elastic-operator.enabled
tags:
- elasticsearch
- store
39 changes: 39 additions & 0 deletions ops/Helm/addons/store/elastic-operator/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# postgres

![Version: 0.2.0](https://img.shields.io/badge/Version-0.2.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 1.0.0](https://img.shields.io/badge/AppVersion-1.0.0-informational?style=flat-square)

## Maintainers

| Name | Email | Url |
| ---- | ------ | --- |
| batazor | <batazor111@gmail.com> | <batazor.ru> |

## Requirements

Kubernetes: `>= 1.22.0 || >= v1.22.0-0`

| Repository | Name | Version |
|------------|------|---------|
| https://charts.bitnami.com/bitnami | postgresql | 12.2.3 |

## Values

| Key | Type | Default | Description |
|-----|------|---------|-------------|
| postgresql.auth.database | string | `"shortlink"` | |
| postgresql.auth.password | string | `"shortlink"` | |
| postgresql.auth.postgresPassword | string | `"shortlink"` | |
| postgresql.auth.username | string | `"postgres"` | |
| postgresql.enabled | bool | `true` | |
| postgresql.global.postgresql.auth.database | string | `"shortlink"` | |
| postgresql.global.postgresql.auth.password | string | `"shortlink"` | |
| postgresql.global.postgresql.auth.postgresPassword | string | `"shortlink"` | |
| postgresql.global.postgresql.auth.username | string | `"postgres"` | |
| postgresql.metrics.enabled | bool | `true` | |
| postgresql.metrics.prometheusRule.enabled | bool | `true` | |
| postgresql.metrics.serviceMonitor.enabled | bool | `true` | |
| postgresql.primary.persistence.enabled | bool | `false` | |
| postgresql.readReplicas.persistence.enabled | bool | `false` | |

----------------------------------------------
Autogenerated from chart metadata using [helm-docs v1.11.0](https://github.com/norwoodj/helm-docs/releases/v1.11.0)
Binary file not shown.
5 changes: 5 additions & 0 deletions ops/Helm/addons/store/elastic-operator/templates/NOTES.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
CHART NAME: {{ .Chart.Name }}
CHART VERSION: {{ .Chart.Version }}
APP VERSION: {{ .Chart.AppVersion }}

** Please be patient while the chart is being deployed **
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
apiVersion: elasticsearch.k8s.elastic.co/v1
kind: Elasticsearch
metadata:
name: shortlink
spec:
version: 8.7.0
nodeSets:
- name: default
count: 1
config:
node.store.allow_mmap: false
14 changes: 14 additions & 0 deletions ops/Helm/addons/store/elastic-operator/values.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Common default values for elastic-operator.
# This is a YAML-formatted file.
# Declare variables to be passed into your templates.

elastic-operator:
enabled: true

resources:
requests:
cpu: 5m
memory: 30Mi

global:
kubeVersion: 1.26.0
25 changes: 3 additions & 22 deletions ops/argocd/infrastructure/elasticsearch/application.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,30 +12,11 @@ spec:
namespace: elasticsearch
server: 'https://kubernetes.default.svc'
source:
chart: elasticsearch
repoURL: https://helm.elastic.co
targetRevision: 8.*
path: ops/Helm/addons/store/elastic-operator
repoURL: 'https://github.com/shortlink-org/shortlink'
targetRevision: HEAD
helm:
releaseName: elasticsearch
values: |
clusterName: shortlink
replicas: 1
minimumMasterNodes: 1
# Shrink default JVM heap.
esJavaOpts: "-Xmx128m -Xms128m"
resources:
requests:
cpu: 100m
memory: 256Mi
persistence:
enabled: false
ingress:
enabled: false
syncPolicy:
automated:
prune: true
Expand Down

0 comments on commit 30671bf

Please sign in to comment.