Skip to content

Commit

Permalink
fix k8 empty namespace issue
Browse files Browse the repository at this point in the history
  • Loading branch information
psuzn committed Jun 21, 2024
1 parent 0672490 commit 3121566
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 4 deletions.
1 change: 0 additions & 1 deletion helm/backend/templates/letsencrypt-issuer-production.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ apiVersion: cert-manager.io/v1
kind: ClusterIssuer
metadata:
name: letsencrypt-production
namespace: {{ .Values.namespace }}
spec:
acme:
server: https://acme-v02.api.letsencrypt.org/directory
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ apiVersion: traefik.containo.us/v1alpha1
kind: Middleware
metadata:
name: redirect-https
namespace: {{ .Values.namespace }}
spec:
redirectScheme:
scheme: https
Expand Down
1 change: 0 additions & 1 deletion helm/service-account/templates/serviceaccount-secret.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ apiVersion: v1
kind: Secret
metadata:
name: sa-{{ .Values.serviceAccountName }}-token
namespace: {{ .Values.namespace }}
annotations:
kubernetes.io/service-account.name: sa-{{ .Values.serviceAccountName }}
type: kubernetes.io/service-account-token
1 change: 0 additions & 1 deletion helm/service-account/templates/serviceaccount.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,3 @@ apiVersion: v1
kind: ServiceAccount
metadata:
name: sa-{{ .Values.serviceAccountName }}
namespace: {{ .Values.namespace }}

0 comments on commit 3121566

Please sign in to comment.