Skip to content

Commit 3ac4876

Browse files
committed
Fix namespace for applications in n8n
1 parent 16a543e commit 3ac4876

File tree

3 files changed

+8
-15
lines changed

3 files changed

+8
-15
lines changed

argocd/apps/applications/n8n/n8n-app.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ spec:
1414
- values.yaml
1515
destination:
1616
server: https://kubernetes.default.svc
17-
namespace: applications-eng
17+
namespace: applications
1818
syncPolicy:
1919
syncOptions:
2020
- CreateNamespace=true

helm/n8n/values.yaml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,13 +33,13 @@ hostAliases: []
3333
# Ingress
3434
#
3535
ingress:
36-
enabled: false
36+
enabled: true
3737
annotations: {}
3838
# define a custom ingress class Name, like "traefik" or "nginx"
3939
className: ""
4040
hosts:
41-
- host: workflow.example.com
42-
paths: []
41+
- host: n8n.yourdomain.com # Replace with your domain
42+
paths: ["/"]
4343
tls: []
4444
# - hosts:
4545
# - workflow.example.com
@@ -49,7 +49,9 @@ ingress:
4949
# The config: {} dictionary is converted to environmental variables in the ConfigMap.
5050
main:
5151
# See https://docs.n8n.io/hosting/configuration/environment-variables/ for all values.
52-
config: {}
52+
config:
53+
n8n:
54+
secure_cookie: false
5355
# n8n:
5456
# license:
5557
# activation:

terraform/namespaces.tf

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,6 @@
11
resource "kubernetes_namespace" "applications_eng" {
22
metadata {
3-
name = "applications-eng"
4-
labels = {
5-
"app.kubernetes.io/managed-by" = "terraform"
6-
}
7-
}
8-
}
9-
10-
resource "kubernetes_namespace" "applications_prd" {
11-
metadata {
12-
name = "applications-prd"
3+
name = "applications"
134
labels = {
145
"app.kubernetes.io/managed-by" = "terraform"
156
}

0 commit comments

Comments
 (0)