++ add deckhouse istio ingress and selfsigned tls
This commit is contained in:
parent
26f10ce34b
commit
4b165fe6e1
16
clusters/d8-ugmk-prod/istio-ingress/certificate.yaml
Normal file
16
clusters/d8-ugmk-prod/istio-ingress/certificate.yaml
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
apiVersion: cert-manager.io/v1
|
||||||
|
kind: Certificate
|
||||||
|
metadata:
|
||||||
|
name: sarex-wildcard
|
||||||
|
namespace: d8-ingress-istio
|
||||||
|
spec:
|
||||||
|
commonName: "*.uralmine.com"
|
||||||
|
dnsNames:
|
||||||
|
- "*.uralmine.com"
|
||||||
|
issuerRef:
|
||||||
|
group: cert-manager.io
|
||||||
|
kind: ClusterIssuer
|
||||||
|
name: sarex-selfsigned
|
||||||
|
privateKey:
|
||||||
|
rotationPolicy: Always
|
||||||
|
secretName: istio-ingress-tls
|
||||||
6
clusters/d8-ugmk-prod/istio-ingress/clusterissuer.yaml
Normal file
6
clusters/d8-ugmk-prod/istio-ingress/clusterissuer.yaml
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
apiVersion: cert-manager.io/v1
|
||||||
|
kind: ClusterIssuer
|
||||||
|
metadata:
|
||||||
|
name: sarex-selfsigned
|
||||||
|
spec:
|
||||||
|
selfSigned: {}
|
||||||
22
clusters/d8-ugmk-prod/istio-ingress/ingress-controller.yaml
Normal file
22
clusters/d8-ugmk-prod/istio-ingress/ingress-controller.yaml
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
apiVersion: deckhouse.io/v1alpha1
|
||||||
|
kind: IngressIstioController
|
||||||
|
metadata:
|
||||||
|
name: sarex
|
||||||
|
spec:
|
||||||
|
ingressGatewayClass: istio
|
||||||
|
inlet: NodePort
|
||||||
|
nodePort:
|
||||||
|
httpPort: 30080
|
||||||
|
httpsPort: 30443
|
||||||
|
nodeSelector:
|
||||||
|
kubernetes.io/hostname: um-sarex-k8s-frontend-01
|
||||||
|
tolerations:
|
||||||
|
- effect: NoExecute
|
||||||
|
key: dedicated.deckhouse.io
|
||||||
|
operator: Equal
|
||||||
|
value: frontend
|
||||||
|
resourcesRequests:
|
||||||
|
mode: Static
|
||||||
|
static:
|
||||||
|
cpu: 100m
|
||||||
|
memory: 128Mi
|
||||||
6
clusters/d8-ugmk-prod/istio-ingress/kustomization.yaml
Normal file
6
clusters/d8-ugmk-prod/istio-ingress/kustomization.yaml
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
|
kind: Kustomization
|
||||||
|
resources:
|
||||||
|
- clusterissuer.yaml
|
||||||
|
- certificate.yaml
|
||||||
|
- ingress-controller.yaml
|
||||||
@ -4,4 +4,5 @@ resources:
|
|||||||
- ./flux-system
|
- ./flux-system
|
||||||
- ./helm-repositories.yaml
|
- ./helm-repositories.yaml
|
||||||
- ./infrastructure
|
- ./infrastructure
|
||||||
|
- ./istio-ingress
|
||||||
- ./bootstrap-jobs
|
- ./bootstrap-jobs
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user