• R/O
  • HTTP
  • SSH
  • HTTPS

标签
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

the default GitOps source repository for booting up Jenkins X


File Info

Rev. 145ee48defa6d7ca0620887f1db016f06c4d3a70
大小 846 字节
时间 2019-10-04 22:13:26
作者 Cosmin Cojocar
Log Message

Merge pull request #68 from cagiti/add_create_domain_setup_for_bdd

WIP: script which upserts domains for testing

Content

apiVersion: extensions/v1beta1
kind: Ingress
metadata:
  annotations:
    kubernetes.io/ingress.class: nginx
    helm.sh/hook: pre-install,pre-upgrade
  name: {{ .Requirements.vault.name }}
spec:
  rules:
  - host: vault{{ .Requirements.ingress.namespaceSubDomain | default ".jx." }}{{ .Requirements.ingress.domain }}
    http:
      paths:
      - backend:
          serviceName: {{ .Requirements.vault.name }}
          servicePort: 8200
{{- if .Requirements.ingress.tls.enabled }}
  tls:
  - hosts:
    - vault{{ .Requirements.ingress.namespaceSubDomain | default ".jx." }}{{ .Requirements.ingress.domain }}
{{- if .Requirements.ingress.tls.production }}
    secretName: "tls-{{ .Requirements.ingress.domain | replace "." "-" }}-p"
{{- else }}
    secretName: "tls-{{ .Requirements.ingress.domain | replace "." "-" }}-s"
{{- end }}
{{- end }}