Skip to content

Commit

Permalink
Remove namespace from helm chart (#74)
Browse files Browse the repository at this point in the history
  • Loading branch information
hanxlin authored Sep 10, 2020
1 parent 09257c8 commit ff5258e
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 10 deletions.
2 changes: 0 additions & 2 deletions charts/aws-oidc/templates/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 "aws-oidc.fullname" . }}
namespace: {{ .Values.namespace }}
labels:
{{- include "aws-oidc.labels" . | nindent 4 }}
spec:
Expand All @@ -24,7 +23,6 @@ spec:
{{- end }}
labels:
{{- include "aws-oidc.selectorLabels" . | nindent 8 }}
namespace: {{ .Values.namespace }}
spec:
{{- range .Values.imagePullSecrets }}
imagePullSecrets:
Expand Down
3 changes: 0 additions & 3 deletions charts/aws-oidc/templates/ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,6 @@ apiVersion: extensions/v1beta1
kind: Ingress
metadata:
name: {{ $fullName }}
{{- if .Values.namespace }}
namespace: {{ .Values.namespace }}
{{- end }}
labels:
{{- include "aws-oidc.labels" . | nindent 4 }}
annotations:
Expand Down
1 change: 0 additions & 1 deletion charts/aws-oidc/templates/network_policy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ apiVersion: networking.k8s.io/v1
kind: NetworkPolicy
metadata:
name: allow-{{ $fullName }}-external
namespace: {{ .Values.namespace }}
spec:
podSelector:
matchLabels:
Expand Down
1 change: 0 additions & 1 deletion charts/aws-oidc/templates/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ apiVersion: v1
kind: Service
metadata:
name: {{ $fullName }}
namespace: {{ .Values.namespace }}
labels:
{{- include "aws-oidc.labels" . | nindent 4 }}
spec:
Expand Down
1 change: 0 additions & 1 deletion charts/aws-oidc/templates/serviceaccount.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ apiVersion: v1
kind: ServiceAccount
metadata:
name: {{ include "aws-oidc.serviceAccountName" . }}
namespace: {{ .Values.namespace }}
labels:
{{- include "aws-oidc.labels" . | nindent 4 }}
{{- with .Values.serviceAccount.annotations }}
Expand Down
2 changes: 0 additions & 2 deletions charts/aws-oidc/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ owner: ""
env: ""
serviceName: ""

namespace: ""

replicaCount: 2

strategy: {
Expand Down

0 comments on commit ff5258e

Please sign in to comment.