Skip to content

Commit 9486a7a

Browse files
committed
Add k3s ingress option to template
1 parent eac2b18 commit 9486a7a

File tree

1 file changed

+17
-18
lines changed

1 file changed

+17
-18
lines changed

instances/template/kustomization.template.yaml

Lines changed: 17 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ resources:
1616
#
1717
# NOTE: Include the 'namespace' component to create namespace with the same name if needed
1818
##########################################################################################
19-
namespace: sg-dev
19+
namespace: sourcegraph
2020

2121
##########################################################################################
2222
# [COMPONENTS] Uncomment the lines for the components you'd like to include
@@ -95,6 +95,7 @@ components:
9595
# - ../../components/network/envoy # -- Add EnvoyFilter to resolve known issues caused by service mesh
9696
# - ../../components/ingress/gke # -- Ingress controller settings for GKE with HTTP load balancing enabled
9797
# - ../../components/ingress/alb # -- Ingress controller settings for AWS ALB
98+
# - ../../components/ingress/k3s # -- Ingress controller settings for K3s
9899

99100
# - ../../components/ingress/hostname # -- Set hostname for your Sourcegraph ingress
100101
# CONFIG KEYS: HOST_DOMAIN
@@ -139,7 +140,6 @@ components:
139140
# - ../../components/privileged # -- Run Sourcegraph with privileged and root access
140141
# Recommended for clusters with RBAC enabled.
141142
# - ../../components/enable/service-discovery # -- Enable service-discovery for frontend
142-
143143
##########################################################################################
144144
# [SECRETS GENERATOR] Turns the contents of the secret files into Kubernetes secrets
145145
#
@@ -187,19 +187,18 @@ components:
187187
# Always refer to the component’s documentation or comments before updating
188188
##########################################################################################
189189

190-
configMapGenerator:
191-
- name: sourcegraph-kustomize-env
192-
behavior: merge
193-
literals:
194-
- CONFIG_KEYS=CONFIG_VALUES
195-
# - PRIVATE_REGISTRY=index.docker.io
196-
# - STORAGECLASS_NAME=sourcegraph
197-
# - STORAGECLASS_PROVISIONER=
198-
# - STORAGECLASS_PARAM_TYPE=
199-
# - HOST_DOMAIN=
200-
# - TLS_HOST=
201-
# - TLS_INGRESS_CLASS_NAME=
202-
# - TLS_CLUSTER_ISSUER=
203-
# - SSD_NODE_PATH=/mnt/disks/ssd0
204-
# - AWS_MANAGED_CERT_ARN=
205-
# - GKE_MANAGED_CERT_NAME=
190+
# configMapGenerator:
191+
# - name: sourcegraph-kustomize-env
192+
# behavior: merge
193+
# literals:
194+
# - PRIVATE_REGISTRY=index.docker.io
195+
# - STORAGECLASS_NAME=sourcegraph
196+
# - STORAGECLASS_PROVISIONER=
197+
# - STORAGECLASS_PARAM_TYPE=
198+
# - HOST_DOMAIN=
199+
# - TLS_HOST=
200+
# - TLS_INGRESS_CLASS_NAME=
201+
# - TLS_CLUSTER_ISSUER=
202+
# - SSD_NODE_PATH=/mnt/disks/ssd0
203+
# - AWS_MANAGED_CERT_ARN=
204+
# - GKE_MANAGED_CERT_NAME=

0 commit comments

Comments
 (0)