Skip to content

Commit

Permalink
[DEVOPS-000] Fix vault path
Browse files Browse the repository at this point in the history
  • Loading branch information
ADobrodey committed Oct 15, 2024
1 parent 9d95f83 commit e2c6b00
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion global/k8s-common/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v2
name: k8s-common
version: 1.1.0
version: 1.1.1
description: A Library Helm Chart for grouping common logic between charts. This chart is not deployable by itself.
type: library
keywords:
Expand Down
8 changes: 4 additions & 4 deletions global/k8s-common/templates/_ingress.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ kubernetes.io/ingress.class: "alb"
alb.ingress.kubernetes.io/actions.ssl-redirect: "{\"Type\":\"redirect\",\"RedirectConfig\":{\"Protocol\":\"HTTPS\",\"Port\":\"443\",\"StatusCode\":\"HTTP_301\"}}"
alb.ingress.kubernetes.io/backend-protocol: "HTTP"
# group name as cluster-name and optional '-public'
alb.ingress.kubernetes.io/group.name: {{ .Values.global.product }}-{{ .Values.global.environment }}{{ if .Values.ingress.public -}}-public{{- end }}
alb.ingress.kubernetes.io/group.name: {{ .Values.global.project }}-{{ .Values.global.environment }}{{ if .Values.ingress.public -}}-public{{- end }}
alb.ingress.kubernetes.io/healthcheck-path: "{{ .Values.service.healthCheckPath | default "/" }}"
alb.ingress.kubernetes.io/listen-ports: "[{\"HTTP\":80},{\"HTTPS\":443}]"
alb.ingress.kubernetes.io/scheme: {{ if .Values.ingress.public -}}internet-facing{{- else -}}internal{{- end }}
Expand Down Expand Up @@ -84,11 +84,11 @@ Usage:
{{- if eq .Values.global.environment "prod" -}}
{{ .Values.global.domain }}
{{- else if eq .Values.global.environment "stage" -}}
{{ substr 0 4 .Values.global.product }}.stg.{{ .Values.global.domain }}
{{ substr 0 4 .Values.global.project }}.stg.{{ .Values.global.domain }}
{{- else if eq .Values.global.environment "perf" -}}
{{ substr 0 4 .Values.global.product }}.prf.{{ .Values.global.domain }}
{{ substr 0 4 .Values.global.project }}.prf.{{ .Values.global.domain }}
{{- else -}}
{{ substr 0 4 .Values.global.product }}.dev.{{ .Values.global.domain }}
{{ substr 0 4 .Values.global.project }}.dev.{{ .Values.global.domain }}
{{- end -}}
{{- end -}}

Expand Down

0 comments on commit e2c6b00

Please sign in to comment.