Skip to content

Commit

Permalink
Merge pull request #26 from softonic/SRE-000-Add-Annotations
Browse files Browse the repository at this point in the history
Add Annotations
  • Loading branch information
roldyxoriginal authored Dec 5, 2023
2 parents 6383089 + 90ddb73 commit 378e5cd
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 deletions.
4 changes: 2 additions & 2 deletions charts/ip-blocker/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ apiVersion: v2
name: ip-blocker
description: This chart deploys a daemon in k8s for blocking IPs from unwanted bots
type: application
version: 0.6.1
appVersion: 0.6.1
version: 0.6.2
appVersion: 0.6.2
2 changes: 2 additions & 0 deletions charts/ip-blocker/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ metadata:
name: {{ include "ip-blocker.fullname" . }}
labels:
{{- include "ip-blocker.labels" . | nindent 6 }}
annotations:
{{- toYaml .Values.annotations | nindent 8 }}
spec:
replicas: {{ .Values.replicaCount }}
selector:
Expand Down
9 changes: 6 additions & 3 deletions charts/ip-blocker/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
# This is a YAML-formatted file.
# Declare variables to be passed into your templates.

annotations: {}
replicaCount: 1

image:
Expand Down Expand Up @@ -38,13 +39,15 @@ extraVolumes: []
extraVolumeMounts: []

elastic:


elasticSearch:
config:
files:
elastic-search-config.yaml:
queries: []
query:
files: {}

# Example
#- name: "list429"
# elasticIndex: "test"
Expand All @@ -55,7 +58,7 @@ elasticSearch:
# elasticFieldtoSearch: "geoip"
# queryFile: "/etc/config/queryElasticCityOrg.json"


#query:
# files:
# queryElastic429.json: |
Expand Down

0 comments on commit 378e5cd

Please sign in to comment.