diff --git a/.daystram/helm-chart/templates/deployment.yaml b/.daystram/helm-chart/templates/deployment.yaml index 3f34a92..382cb89 100644 --- a/.daystram/helm-chart/templates/deployment.yaml +++ b/.daystram/helm-chart/templates/deployment.yaml @@ -2,9 +2,9 @@ apiVersion: apps/v1 kind: Deployment metadata: - name: {{ include "folio.fullname" . }}-be + name: {{ include "ratify.fullname" . }}-be labels: - {{- include "folio.labels" . | nindent 4 }} + {{- include "ratify.labels" . | nindent 4 }} tier: be spec: {{- if not .Values.autoscaling.enabled }} @@ -12,7 +12,7 @@ spec: {{- end }} selector: matchLabels: - {{- include "folio.selectorLabels" . | nindent 6 }} + {{- include "ratify.selectorLabels" . | nindent 6 }} tier: be template: metadata: @@ -21,14 +21,14 @@ spec: {{- toYaml . | nindent 8 }} {{- end }} labels: - {{- include "folio.selectorLabels" . | nindent 8 }} + {{- include "ratify.selectorLabels" . | nindent 8 }} tier: be spec: {{- with .Values.imagePullSecrets }} imagePullSecrets: {{- toYaml . | nindent 8 }} {{- end }} - serviceAccountName: {{ include "folio.serviceAccountName" . }} + serviceAccountName: {{ include "ratify.serviceAccountName" . }} securityContext: {{- toYaml .Values.podSecurityContext | nindent 8 }} containers: @@ -63,9 +63,9 @@ spec: apiVersion: apps/v1 kind: Deployment metadata: - name: {{ include "folio.fullname" . }}-fe + name: {{ include "ratify.fullname" . }}-fe labels: - {{- include "folio.labels" . | nindent 4 }} + {{- include "ratify.labels" . | nindent 4 }} tier: fe spec: {{- if not .Values.autoscaling.enabled }} @@ -73,7 +73,7 @@ spec: {{- end }} selector: matchLabels: - {{- include "folio.selectorLabels" . | nindent 6 }} + {{- include "ratify.selectorLabels" . | nindent 6 }} tier: fe template: metadata: @@ -82,14 +82,14 @@ spec: {{- toYaml . | nindent 8 }} {{- end }} labels: - {{- include "folio.selectorLabels" . | nindent 8 }} + {{- include "ratify.selectorLabels" . | nindent 8 }} tier: fe spec: {{- with .Values.imagePullSecrets }} imagePullSecrets: {{- toYaml . | nindent 8 }} {{- end }} - serviceAccountName: {{ include "folio.serviceAccountName" . }} + serviceAccountName: {{ include "ratify.serviceAccountName" . }} securityContext: {{- toYaml .Values.podSecurityContext | nindent 8 }} containers: diff --git a/.daystram/helm-chart/templates/ingress.yaml b/.daystram/helm-chart/templates/ingress.yaml index 3d0885d..a0dcae0 100644 --- a/.daystram/helm-chart/templates/ingress.yaml +++ b/.daystram/helm-chart/templates/ingress.yaml @@ -2,9 +2,9 @@ apiVersion: traefik.containo.us/v1alpha1 kind: IngressRoute metadata: - name: {{ include "folio.fullname" . }} + name: {{ include "ratify.fullname" . }} labels: - {{- include "folio.labels" . | nindent 4 }} + {{- include "ratify.labels" . | nindent 4 }} {{- with .Values.ingress.annotations }} annotations: {{- toYaml . | nindent 4 }} @@ -16,7 +16,7 @@ spec: - kind: Rule match: "Host(`{{ .Values.ingress.host }}`)" services: - - name: {{ include "folio.fullname" . }}-fe + - name: {{ include "ratify.fullname" . }}-fe passHostHeader: true port: {{ .Values.service.port }} middlewares: @@ -24,20 +24,20 @@ spec: - kind: Rule match: "Host(`{{ .Values.ingress.host }}`) && PathPrefix(`/api`)" services: - - name: {{ include "folio.fullname" . }}-be + - name: {{ include "ratify.fullname" . }}-be passHostHeader: true port: {{ .Values.service.port }} - kind: Rule match: "Host(`{{ .Values.ingress.host }}`) && PathPrefix(`/oauth`)" services: - - name: {{ include "folio.fullname" . }}-be + - name: {{ include "ratify.fullname" . }}-be passHostHeader: true port: {{ .Values.service.port }} middlewares: - name: cors {{- if .Values.ingress.tls }} tls: - secretName: cert-{{ include "folio.fullname" . }} + secretName: cert-{{ include "ratify.fullname" . }} {{- end }} --- @@ -75,9 +75,9 @@ spec: apiVersion: cert-manager.io/v1alpha2 kind: Certificate metadata: - name: cert-{{ include "folio.fullname" . }} + name: cert-{{ include "ratify.fullname" . }} spec: - secretName: cert-{{ include "folio.fullname" . }} + secretName: cert-{{ include "ratify.fullname" . }} dnsNames: - {{ .Values.ingress.host }} issuerRef: diff --git a/.daystram/helm-chart/templates/service.yaml b/.daystram/helm-chart/templates/service.yaml index e2bc654..657ba4c 100644 --- a/.daystram/helm-chart/templates/service.yaml +++ b/.daystram/helm-chart/templates/service.yaml @@ -1,9 +1,9 @@ apiVersion: v1 kind: Service metadata: - name: {{ include "folio.fullname" . }}-fe + name: {{ include "ratify.fullname" . }}-fe labels: - {{- include "folio.labels" . | nindent 4 }} + {{- include "ratify.labels" . | nindent 4 }} tier: fe spec: type: {{ .Values.service.type }} @@ -13,16 +13,16 @@ spec: protocol: TCP name: http selector: - {{- include "folio.selectorLabels" . | nindent 4 }} + {{- include "ratify.selectorLabels" . | nindent 4 }} tier: fe --- apiVersion: v1 kind: Service metadata: - name: {{ include "folio.fullname" . }}-be + name: {{ include "ratify.fullname" . }}-be labels: - {{- include "folio.labels" . | nindent 4 }} + {{- include "ratify.labels" . | nindent 4 }} tier: be spec: type: {{ .Values.service.type }} @@ -32,5 +32,5 @@ spec: protocol: TCP name: http selector: - {{- include "folio.selectorLabels" . | nindent 4 }} + {{- include "ratify.selectorLabels" . | nindent 4 }} tier: be