-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add custom database secret for uptime kuma v2
- Loading branch information
1 parent
1fe2035
commit dd62c26
Showing
3 changed files
with
57 additions
and
0 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
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,18 @@ | ||
{{- if .Values.awsEKS.sgp.enabled -}} | ||
apiVersion: vpcresources.k8s.aws/v1beta1 | ||
kind: SecurityGroupPolicy | ||
metadata: | ||
name: {{ template "uptime-kuma.name" . }} | ||
namespace: {{ .Release.Namespace }} | ||
labels: | ||
{{- include "uptime-kuma.labels" . | nindent 4 }} | ||
spec: | ||
podSelector: | ||
matchLabels: | ||
{{- include "uptime-kuma.selectorLabels" . | nindent 6 }} | ||
securityGroups: | ||
groupIds: | ||
{{- range .Values.awsEKS.sgp.sgIds }} | ||
- {{ . | quote }} | ||
{{- end }} | ||
{{- 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