Skip to content

Commit

Permalink
Merge pull request #3 from dannysauer/bug/remove-default-namespace
Browse files Browse the repository at this point in the history
Remove namespace from values
  • Loading branch information
motatoes authored Apr 23, 2024
2 parents bfb2e9b + d7cc402 commit ecaf49a
Show file tree
Hide file tree
Showing 9 changed files with 1 addition and 9 deletions.
2 changes: 1 addition & 1 deletion charts/digger-backend/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.1.1
version: 0.1.2

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand Down
1 change: 0 additions & 1 deletion charts/digger-backend/templates/backend-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ apiVersion: apps/v1
kind: Deployment
metadata:
name: {{ include "digger-backend.fullname" . }}-web
namespace: {{ .Values.namespace }}
spec:
replicas: 1
selector:
Expand Down
1 change: 0 additions & 1 deletion charts/digger-backend/templates/backend-ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: {{ include "digger-backend.fullname" . }}
namespace: {{ .Values.namespace }}
annotations:
{{- range $key, $value := .Values.digger.ingress.annotations }}
{{ $key }}: {{ $value | quote }}
Expand Down
1 change: 0 additions & 1 deletion charts/digger-backend/templates/backend-service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ apiVersion: v1
kind: Service
metadata:
name: {{ include "digger-backend.fullname" . }}-web
namespace: {{ .Values.namespace }}
spec:
type: {{ .Values.digger.service.type }}
ports:
Expand Down
1 change: 0 additions & 1 deletion charts/digger-backend/templates/digger-secret.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ apiVersion: v1
kind: Secret
metadata:
name: {{ include "digger-backend.fullname" . }}-secret
namespace: {{ .Values.namespace }}
type: Opaque
data:
HTTP_BASIC_AUTH_USERNAME: {{ .Values.digger.secret.httpBasicAuthUsername | b64enc | quote }}
Expand Down
1 change: 0 additions & 1 deletion charts/digger-backend/templates/postgres-secret.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ apiVersion: v1
kind: Secret
metadata:
name: {{ include "digger-backend.fullname" . }}-postgres-secret
namespace: {{ .Values.namespace }}
type: Opaque
data:
postgres-password: {{ .Values.postgres.secret.password | b64enc | quote }}
Expand Down
1 change: 0 additions & 1 deletion charts/digger-backend/templates/postgres-service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ apiVersion: v1
kind: Service
metadata:
name: {{ include "digger-backend.fullname" . }}-postgres
namespace: {{ .Values.namespace }}
spec:
ports:
- port: 5432
Expand Down
1 change: 0 additions & 1 deletion charts/digger-backend/templates/postgres-statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ apiVersion: apps/v1
kind: StatefulSet
metadata:
name: {{ include "digger-backend.fullname" . }}-postgres
namespace: {{ .Values.namespace }}
spec:
serviceName: "{{ include "digger-backend.fullname" . }}-postgres"
replicas: 1
Expand Down
1 change: 0 additions & 1 deletion charts/digger-backend/values.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# values.yaml
namespace: digger-backend

digger:

Expand Down

0 comments on commit ecaf49a

Please sign in to comment.