Skip to content

Commit

Permalink
Merge pull request #97 from travertischio/horizon-namespace
Browse files Browse the repository at this point in the history
Clean up namespace templating in horizon chart
  • Loading branch information
travertischio authored Oct 22, 2024
2 parents 8da5fdb + e679e7c commit 13412bd
Show file tree
Hide file tree
Showing 7 changed files with 0 additions and 24 deletions.
2 changes: 0 additions & 2 deletions charts/horizon/templates/core-configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,7 @@ apiVersion: v1
kind: ConfigMap
metadata:
name: {{ template "common.fullname" . }}-core
{{- if .Release.Namespace }}
namespace: {{ .Release.Namespace }}
{{- end }}
labels:
app: {{ template "common.fullname" . }}-core
chart: {{ template "common.chart" . }}
Expand Down
2 changes: 0 additions & 2 deletions charts/horizon/templates/ingest-configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,7 @@ apiVersion: v1
kind: ConfigMap
metadata:
name: {{ template "common.fullname" . }}-ingest-env
{{- if .Release.Namespace }}
namespace: {{ .Release.Namespace }}
{{- end }}
labels:
app: {{ template "common.fullname" . }}-ingest
chart: {{ template "common.chart" . }}
Expand Down
6 changes: 0 additions & 6 deletions charts/horizon/templates/ingest-statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,7 @@ apiVersion: apps/v1
kind: StatefulSet
metadata:
name: {{ template "common.fullname" . }}-ingest
{{- if .Release.Namespace }}
namespace: {{ .Release.Namespace }}
{{- end }}
labels:
app: {{ template "common.fullname" . }}-ingest
chart: {{ template "common.chart" . }}
Expand Down Expand Up @@ -114,9 +112,7 @@ apiVersion: v1
kind: Service
metadata:
name: {{ template "common.fullname" . }}-ingest-core
{{- if .Release.Namespace }}
namespace: {{ .Release.Namespace }}
{{- end }}
labels:
app: {{ template "common.fullname" . }}-ingest-core
chart: {{ template "common.chart" . }}
Expand All @@ -135,9 +131,7 @@ apiVersion: v1
kind: Service
metadata:
name: {{ template "common.fullname" . }}-ingest
{{- if .Release.Namespace }}
namespace: {{ .Release.Namespace }}
{{- end }}
labels:
app: {{ template "common.fullname" . }}-ingest
chart: {{ template "common.chart" . }}
Expand Down
4 changes: 0 additions & 4 deletions charts/horizon/templates/ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,7 @@ apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: {{ template "common.fullname" . }}-ingest
{{- if .Release.Namespace }}
namespace: {{ .Release.Namespace }}
{{- end }}
{{- if (.Values.ingest.ingress).annotations }}
annotations:
{{- range $key, $value := .Values.ingest.ingress.annotations }}
Expand Down Expand Up @@ -36,9 +34,7 @@ apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: {{ template "common.fullname" . }}-web
{{- if .Release.Namespace }}
namespace: {{ .Release.Namespace }}
{{- end }}
{{- if (.Values.web.ingress).annotations }}
annotations:
{{- range $key, $value := .Values.web.ingress.annotations }}
Expand Down
2 changes: 0 additions & 2 deletions charts/horizon/templates/web-configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,7 @@ apiVersion: v1
kind: ConfigMap
metadata:
name: {{ template "common.fullname" . }}-web-env
{{- if .Release.Namespace }}
namespace: {{ .Release.Namespace }}
{{- end }}
labels:
app: {{ template "common.fullname" . }}-web
chart: {{ template "common.chart" . }}
Expand Down
4 changes: 0 additions & 4 deletions charts/horizon/templates/web-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,7 @@ apiVersion: apps/v1
kind: Deployment
metadata:
name: {{ template "common.fullname" . }}-web
{{- if .Release.Namespace }}
namespace: {{ .Release.Namespace }}
{{- end }}
labels:
app: {{ template "common.fullname" . }}-web
chart: {{ template "common.chart" . }}
Expand Down Expand Up @@ -77,9 +75,7 @@ apiVersion: v1
kind: Service
metadata:
name: {{ template "common.fullname" . }}-web
{{- if .Release.Namespace }}
namespace: {{ .Release.Namespace }}
{{- end }}
labels:
app: {{ template "common.fullname" . }}-web
chart: {{ template "common.chart" . }}
Expand Down
4 changes: 0 additions & 4 deletions charts/horizon/values.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
global:
## String to use to explicitly set namespace name in manifests.
## Useful for those using "helm template" to render templates
# namespace: mynamespace

## Stellar network to use. When set to "testnet" or "pubnet" default
## recommended config will be used.
## When set to any other value you have to provide extra settings:
Expand Down

0 comments on commit 13412bd

Please sign in to comment.