feat: remove the need for raw jinja blocks (#1158)
Signed-off-by: Devin Buhl <devin@buhl.casa>
This commit is contained in:
1 parent
f9481d6202
commit
e6fbc6e128
92 files changed
+430
-441
No files matched your search
+2
-2
@@ -1,4 +1,4 @@
|
||||
{% if discord_template_notifier.enabled | default(false) %}
|
||||
<% if discord_template_notifier.enabled | default(false) %>
|
||||
---
|
||||
apiVersion: helm.toolkit.fluxcd.io/v2beta2
|
||||
kind: HelmRelease
|
||||
@@ -62,4 +62,4 @@ spec:
|
||||
- path: /data/config.toml
|
||||
subPath: config.toml
|
||||
readOnly: true
|
||||
{% endif %}
|
||||
<% endif %>
|
||||
+2
-2
@@ -1,8 +1,8 @@
|
||||
{% if discord_template_notifier.enabled | default(false) %}
|
||||
<% if discord_template_notifier.enabled | default(false) %>
|
||||
---
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- ./secret.sops.yaml
|
||||
- ./helmrelease.yaml
|
||||
{% endif %}
|
||||
<% endif %>
|
||||
+3
-3
@@ -1,4 +1,4 @@
|
||||
{% if discord_template_notifier.enabled | default(false) %}
|
||||
<% if discord_template_notifier.enabled | default(false) %>
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Secret
|
||||
@@ -12,5 +12,5 @@ stringData:
|
||||
interval = "10m"
|
||||
retry_limit = 5
|
||||
sink.type = "discord"
|
||||
sink.url = "{{ discord_template_notifier.webhook_url }}"
|
||||
{% endif %}
|
||||
sink.url = "<< discord_template_notifier.webhook_url >>"
|
||||
<% endif %>
|
||||
@@ -1,4 +1,4 @@
|
||||
{% if discord_template_notifier.enabled | default(false) %}
|
||||
<% if discord_template_notifier.enabled | default(false) %>
|
||||
---
|
||||
apiVersion: kustomize.toolkit.fluxcd.io/v1
|
||||
kind: Kustomization
|
||||
@@ -19,4 +19,4 @@ spec:
|
||||
interval: 30m
|
||||
retryInterval: 1m
|
||||
timeout: 5m
|
||||
{% endif %}
|
||||
<% endif %>
|
||||
Reference in new issue
Block a user