Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
brainfood
/
k8s-helmfiles
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
b16421be
authored
2023-01-17 18:09:27 -0600
by
Adam Heath
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Move the gateway and certificates to the istio-ingress namespace.
1 parent
b9e5178e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
105 additions
and
1 deletions
istio-gateway/helmfile.yaml
istio-gateway/helmfile.yaml.save
istio-gateway/helmfile.yaml
View file @
b16421b
...
...
@@ -11,7 +11,7 @@ repositories:
releases
:
-
name
:
istio-gateway-{{ .Values.name }}
namespace
:
istio-
system
namespace
:
istio-
ingress
chart
:
bedag/raw
version
:
{{
$.Values.version.raw
}}
disableValidationOnInstall
:
true
...
...
@@ -70,6 +70,7 @@ releases:
-
apiVersion
:
cert-manager.io/v1
kind
:
Certificate
metadata
:
namespace
:
istio-ingress
{{
- if hasPrefix "*." $host.name
}}
name
:
istio-gateway-wildcardcert-{{ $host.name | replace "*." "" }}
{{
- else
}}
...
...
istio-gateway/helmfile.yaml.save
0 → 100644
View file @
b16421b
bases:
- ../common/environments.yaml
---
epositories:
- name: istio
url: https://istio-release.storage.googleapis.com/charts
releases:
- name: istio-gateway-{{ .Values.name }}
namespace: istio-system
chart: istio/gateway
version: {{ $.Values.version.istio }}
disableValidationOnInstall: true
# dependencies:
# {{- range $gateway_index, $gateway := .Values.gateway }}
# - chart: charts/gateway
# alias: gateway-{{ $gateway.name }}
# {{- end }}
values:
- name: istio-gateway-{{ .Values.name }}
nameSuffix: -{{ .Values.name }}
#
#
# strategicMergePatches:
# - apiVersion: apps/v1
# kind: Deployment
# metadata:
# name: istio-gateway-{{ .Values.name }}
# namespace: {{ .Values.namespace }}
#
# - apiVersion: networking.istio.io/v1beta1
# kind: Gateway
# metadata:
# name: istio-gateway-{{ .Values.name }}
# namespace: {{ .Values.namespace }}
# spec:
# selector: {{ .Values.selector | toYaml | nindent 12 }}
# servers:
# {{- if .Values.http.hosts }}
# - port:
# name: http
# number: 80
# protocol: HTTP
# hosts: {{ .Values.http.hosts | toYaml | nindent 16 }}
# {{- end }}
# {{- if .Values.tls.hosts }}
# - port:
# name: https
# number: 443
# protocol: HTTPS
# hosts: {{ .Values.http.hosts | toYaml | nindent 16 }}
# tls:
# credentialName: istio-gateway-cert-{{ .Values.name }}
# mode: {{ .Values.tls.mode | quote }}
# {{- end }}
# - apiVersion: cert-manager.io/v1
# kind: Certificate
# metadata:
# name: istio-gateway-basecert-{{ .Values.name }}
# namespace: {{ .Values.namespace }}
# {{- if .Values.tls.hosts }}
# spec:
# secretName: istio-gateway-basecert-{{ .Values.name }}
# dnsNames: {{ .Values.tls.hosts | toYaml | nindent 12 }}
# issuerRef: {{ .Values.tls.issuerRef | toYaml | nindent 12 }}
# {{ else }}
# $patch: delete
# {{- end }}
# - apiVersion: cert-manager.io/v1
# kind: Certificate
# metadata:
# name: istio-gateway-wildcardcert-{{ .Values.name }}
# namespace: {{ .Values.namespace }}
# {{- if .Values.tls.hosts }}
# spec:
# secretName: istio-gateway-basecert-{{ .Values.name }}
# dnsNames: {{ .Values.tls.hosts | toYaml | nindent 12 }}
# issuerRef: {{ .Values.tls.issuerRef | toYaml | nindent 12 }}
# {{ else }}
# $patch: delete
# {{- end }}
#
#
#namespace: default
#name: default
#selector: {}
#tls:
# hosts:
# - "*"
# issuerRef:
# name: ca-issuer
# # We can reference ClusterIssuers by changing the kind here.
# # The default value is Issuer (i.e. a locally namespaced Issuer)
# kind: ClusterIssuer
# group: cert-manager.io
# mode: SIMPLE
#http:
# hosts:
# - "*"
#
Please
register
or
sign in
to post a comment