-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: update aergia to v0.3.0 (#49)
- Loading branch information
1 parent
6e8eabe
commit 22afea9
Showing
7 changed files
with
216 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,15 +8,19 @@ maintainers: | |
- name: shreddedbacon | ||
email: [email protected] | ||
url: https://amazee.io | ||
kubeVersion: ">= 1.19.0-0" | ||
kubeVersion: ">= 1.23.0-0" | ||
|
||
type: application | ||
|
||
version: 0.4.0 | ||
version: 0.5.0 | ||
|
||
appVersion: v0.2.0 | ||
appVersion: v0.3.0 | ||
|
||
annotations: | ||
artifacthub.io/changes: | | ||
- kind: changed | ||
description: update aergia-controller appVersion to v0.2.0 | ||
description: update aergia-controller appVersion to v0.3.0 | ||
- kind: changed | ||
description: added configmap for setting ip and useragent allow and block lists | ||
- kind: changed | ||
description: minimum kubernetes version to 1.23.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,22 @@ | ||
# CI uses default values | ||
unidling: | ||
verifyRequests: | ||
enabled: true | ||
secret: super-secret-string | ||
ipAllowList: | ||
- 1.2.3.4 | ||
ipBlockList: | ||
- 1.2.3.5 | ||
- 4.3.2.1 | ||
agentAllowList: | ||
- "@(example).com.?$" | ||
agentBlockList: | ||
- "@(example).test.?$" | ||
- "@(internal).test.?$" | ||
customSelectors: | ||
enabled: true | ||
selectors: |- | ||
servicedeployments: abc | ||
clideployments: abc | ||
templates: | ||
enabled: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,6 +21,7 @@ rules: | |
verbs: | ||
- get | ||
- list | ||
- patch | ||
- watch | ||
- apiGroups: | ||
- "" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,59 @@ | ||
apiVersion: v1 | ||
kind: ConfigMap | ||
metadata: | ||
name: {{ include "aergia.fullname" . }}-lists | ||
data: | ||
{{- if .Values.unidling.ipAllowList}} | ||
allowedips: | | ||
{{- range .Values.unidling.ipAllowList }} | ||
{{ . }} | ||
{{- end}} | ||
{{- end}} | ||
{{- if .Values.unidling.ipBlockList}} | ||
blockedips: | | ||
{{- range .Values.unidling.ipBlockList }} | ||
{{ . }} | ||
{{- end}} | ||
{{- end}} | ||
{{- if .Values.unidling.agentAllowList}} | ||
allowedagents: | | ||
{{- range .Values.unidling.agentAllowList }} | ||
{{ . }} | ||
{{- end}} | ||
{{- end}} | ||
{{- if .Values.unidling.agentBlockList}} | ||
blockedagents: | | ||
{{- range .Values.unidling.agentBlockList }} | ||
{{ . }} | ||
{{- end}} | ||
{{- end}} | ||
{{- if .Values.templates.enabled }} | ||
--- | ||
apiVersion: v1 | ||
kind: ConfigMap | ||
metadata: | ||
name: {{ include "aergia.fullname" . }}-templates | ||
data: | ||
{{- if .Values.templates.error}} | ||
error.html: | | ||
{{ .Values.templates.error | indent 4 }} | ||
{{- if .Values.templates.forced}} | ||
{{- end}} | ||
forced.html: | | ||
{{ .Values.templates.forced | indent 4 }} | ||
{{- if .Values.templates.unidle}} | ||
{{- end}} | ||
unidle.html: | | ||
{{ .Values.templates.unidle | indent 4 }} | ||
{{- end}} | ||
{{- end}} | ||
{{- if .Values.customSelectors.enabled }} | ||
--- | ||
apiVersion: v1 | ||
kind: ConfigMap | ||
metadata: | ||
name: {{ include "aergia.fullname" . }}-selectors | ||
data: | ||
selectors.yaml: | | ||
{{ .Values.customSelectors.selectors | indent 4 }} | ||
{{- end }} | ||
{{ .Values.customSelectors.selectors | indent 4}} | ||
{{- end }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{{- if .Values.unidling.verifyRequests.enabled }} | ||
apiVersion: v1 | ||
kind: Secret | ||
type: Opaque | ||
metadata: | ||
name: {{ include "aergia.fullname" . }} | ||
labels: | ||
{{- include "aergia.labels" . | nindent 4 }} | ||
stringData: | ||
VERIFIED_UNIDLING: {{ .Values.unidling.verifyRequests.enabled | quote }} | ||
VERIFY_SECRET: {{ .Values.unidling.verifyRequests.secret | quote }} | ||
{{- end}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters