Skip to content
Snippets Groups Projects
Commit 92e5942f authored by Martin's avatar Martin
Browse files

OZG-7952 rename HelmCharts and related files

parent f72262d8
Branches
Tags
1 merge request!108Ozg 7952 rename admin
......@@ -24,7 +24,7 @@
apiVersion: v1
appVersion: '1.0'
description: A Helm chart for Admin Client
name: admin-client
description: A Helm chart for Administration Client
name: administration-client
version: 0.0.0-MANAGED-BY-JENKINS
icon: https://simpleicons.org/icons/helm.svg
......@@ -51,7 +51,7 @@
{{/* Default Labels: Helm recommended best-practice labels https://helm.sh/docs/chart_best_practices/labels/ */}}
{{- define "app.defaultLabels" }}
app.kubernetes.io/instance: admin-client
app.kubernetes.io/instance: administration-client
app.kubernetes.io/managed-by: {{ include "app.managedBy" . }}
app.kubernetes.io/name: {{ .Release.Name }}
app.kubernetes.io/namespace: {{ include "app.namespace" . }}
......@@ -80,12 +80,12 @@ app.kubernetes.io/namespace: {{ include "app.namespace" . }}
{{- define "app.serviceAccountName" -}}
{{ printf "%s" ( (.Values.serviceAccount).name | default "admin-client-service-account" ) }}
{{ printf "%s" ( (.Values.serviceAccount).name | default "administration-client-service-account" ) }}
{{- end -}}
{{- define "app.baseDomain" -}}
{{- printf "%s-%s.%s" (include "app.ozgcloudBezeichner" . ) (.Values.ozgcloud).adminDomainSuffix (include "app.baseUrl" . ) }}
{{- printf "%s-%s.%s" (include "app.ozgcloudBezeichner" . ) (.Values.ozgcloud).administrationDomainSuffix (include "app.baseUrl" . ) }}
{{- end -}}
{{- define "app.ozgcloudBezeichner" -}}
......
......@@ -45,7 +45,7 @@ spec:
metadata:
labels:
{{- include "app.defaultLabels" . | indent 8 }}
component: admin-client
component: administration-client
spec:
{{- if (.Values.serviceAccount).create }}
serviceAccountName: {{ include "app.serviceAccountName" . }}
......@@ -69,7 +69,7 @@ spec:
image: "{{ .Values.image.repo }}/{{ .Values.image.name }}:{{ coalesce (.Values.image).tag "latest" }}"
imagePullPolicy: Always
name: admin-client
name: administration-client
startupProbe:
httpGet:
......
......@@ -55,7 +55,7 @@ spec:
pathType: Prefix
backend:
service:
name: admin-client
name: administration-client
port:
number: 8080
......
......@@ -26,7 +26,7 @@
apiVersion: networking.k8s.io/v1
kind: NetworkPolicy
metadata:
name: network-policy-admin-client
name: network-policy-administration-client
namespace: {{ .Release.Namespace }}
spec:
podSelector:
......
......@@ -29,7 +29,7 @@ metadata:
namespace: {{ include "app.namespace" . }}
labels:
{{- include "app.defaultLabels" . | indent 4 }}
component: admin-client-service
component: administration-client-service
spec:
type: ClusterIP
ports:
......@@ -40,4 +40,4 @@ spec:
selector:
{{- include "app.matchLabels" . | indent 4 }}
component: admin-client
\ No newline at end of file
component: administration-client
\ No newline at end of file
......@@ -24,9 +24,9 @@
image:
repo: docker.ozg-sh.de
name: admin-client
name: administration-client
tag: 0.1.0 # [default: latest]
replicaCount: 1
ozgcloud:
adminDomainSuffix: admin
administrationDomainSuffix: administration
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment