aboutsummaryrefslogtreecommitdiffstats
path: root/certService/helm/aaf-cert-service/templates
diff options
context:
space:
mode:
authorawudzins <adam.wudzinski@nokia.com>2020-04-08 15:13:50 +0200
committerawudzins <adam.wudzinski@nokia.com>2020-04-08 15:13:50 +0200
commit7798d514a907aadd52d0583c94ffedae6d05a304 (patch)
treeb3d5ffc59cd7375c28b172093cddadaf861b0ae8 /certService/helm/aaf-cert-service/templates
parentd04314864e90fb138a050b44b86f15c655322714 (diff)
Remove helm charts from CertService
Issue-ID: AAF-1084 Signed-off-by: Adam Wudzinski <adam.wudzinski@nokia.com> Change-Id: I69c7ee825ef6288404b327c4657d4bf9c7fd3344
Diffstat (limited to 'certService/helm/aaf-cert-service/templates')
-rw-r--r--certService/helm/aaf-cert-service/templates/deployment.yaml67
-rw-r--r--certService/helm/aaf-cert-service/templates/secret.yaml7
-rw-r--r--certService/helm/aaf-cert-service/templates/secret_client_tls.yaml10
-rw-r--r--certService/helm/aaf-cert-service/templates/secret_server_tls.yaml14
-rw-r--r--certService/helm/aaf-cert-service/templates/service.yaml11
5 files changed, 0 insertions, 109 deletions
diff --git a/certService/helm/aaf-cert-service/templates/deployment.yaml b/certService/helm/aaf-cert-service/templates/deployment.yaml
deleted file mode 100644
index f4a28f46..00000000
--- a/certService/helm/aaf-cert-service/templates/deployment.yaml
+++ /dev/null
@@ -1,67 +0,0 @@
-apiVersion: apps/v1
-kind: Deployment
-metadata:
- name: {{ .Chart.Name }}-deployment
-spec:
- selector:
- matchLabels:
- app: {{ .Values.appLabel }}
- replicas: {{ .Values.replicaCount }}
- template:
- metadata:
- labels:
- app: {{ .Values.appLabel }}
- spec:
- volumes:
- - name: {{ .Values.volume.name }}
- secret:
- secretName: {{ .Values.secret.name }}
- - name: {{ .Values.tls.server.volume.name }}
- secret:
- secretName: {{ .Values.tls.server.secret.name }}
- containers:
- - name: aaf-cert-service
- image: {{ .Values.repository }}/{{ .Values.image }}
- imagePullPolicy: {{ .Values.pullPolicy }}
- ports:
- - containerPort: {{ .Values.containerPort }}
- env:
- - name: HTTPS_PORT
- value: "{{ .Values.containerPort }}"
- - name: KEYSTORE_PATH
- value: "{{ .Values.tls.server.volume.mountPath }}/{{ .Values.envs.keystore.jksName }}"
- - name: KEYSTORE_P12_PATH
- value: "{{ .Values.tls.server.volume.mountPath }}/{{ .Values.envs.keystore.p12Name }}"
- - name: TRUSTSTORE_PATH
- value: "{{ .Values.tls.server.volume.mountPath }}/{{ .Values.envs.truststore.jksName }}"
- - name: ROOT_CERT
- value: "{{ .Values.tls.server.volume.mountPath }}/{{ .Values.envs.truststore.crtName }}"
- - name: KEYSTORE_PASSWORD
- value: "{{ .Values.envs.keystore.password }}"
- - name: TRUSTSTORE_PASSWORD
- value: "{{ .Values.envs.truststore.password }}"
- livenessProbe:
- exec:
- command:
- - /bin/bash
- - -c
- - {{ .Values.liveness.command }}
- initialDelaySeconds: {{ .Values.liveness.initialDelaySeconds }}
- periodSeconds: {{ .Values.liveness.periodSeconds }}
- readinessProbe:
- exec:
- command:
- - /bin/bash
- - -c
- - {{ .Values.readiness.command }}
- initialDelaySeconds: {{ .Values.readiness.initialDelaySeconds }}
- periodSeconds: {{ .Values.readiness.periodSeconds }}
- volumeMounts:
- - name: {{ .Values.volume.name }}
- mountPath: {{ .Values.volume.mountPath }}
- readOnly: true
- - name: {{ .Values.tls.server.volume.name }}
- mountPath: {{ .Values.tls.server.volume.mountPath }}
- readOnly: true
- resources:
- {{ toYaml .Values.resources }}
diff --git a/certService/helm/aaf-cert-service/templates/secret.yaml b/certService/helm/aaf-cert-service/templates/secret.yaml
deleted file mode 100644
index 77b25f4e..00000000
--- a/certService/helm/aaf-cert-service/templates/secret.yaml
+++ /dev/null
@@ -1,7 +0,0 @@
-apiVersion: v1
-kind: Secret
-metadata:
- name: {{ .Values.secret.name }}
-type: Opaque
-data:
- {{ (.Files.Glob "resources/cmpServers.json").AsSecrets }} \ No newline at end of file
diff --git a/certService/helm/aaf-cert-service/templates/secret_client_tls.yaml b/certService/helm/aaf-cert-service/templates/secret_client_tls.yaml
deleted file mode 100644
index b80a4af4..00000000
--- a/certService/helm/aaf-cert-service/templates/secret_client_tls.yaml
+++ /dev/null
@@ -1,10 +0,0 @@
-apiVersion: v1
-kind: Secret
-metadata:
- name: {{ .Values.tls.client.secret.name }}
-type: Opaque
-data:
- certServiceClient-keystore.jks:
- {{ (.Files.Glob "resources/certServiceClient-keystore.jks").AsSecrets }}
- truststore.jks:
- {{ (.Files.Glob "resources/truststore.jks").AsSecrets }}
diff --git a/certService/helm/aaf-cert-service/templates/secret_server_tls.yaml b/certService/helm/aaf-cert-service/templates/secret_server_tls.yaml
deleted file mode 100644
index 535e3dbd..00000000
--- a/certService/helm/aaf-cert-service/templates/secret_server_tls.yaml
+++ /dev/null
@@ -1,14 +0,0 @@
-apiVersion: v1
-kind: Secret
-metadata:
- name: {{ .Values.tls.server.secret.name }}
-type: Opaque
-data:
- certServiceServer-keystore.jks:
- {{ (.Files.Glob "resources/certServiceServer-keystore.jks").AsSecrets }}
- certServiceServer-keystore.p12:
- {{ (.Files.Glob "resources/certServiceServer-keystore.p12").AsSecrets }}
- truststore.jks:
- {{ (.Files.Glob "resources/truststore.jks").AsSecrets }}
- root.crt:
- {{ (.Files.Glob "resources/root.crt").AsSecrets }} \ No newline at end of file
diff --git a/certService/helm/aaf-cert-service/templates/service.yaml b/certService/helm/aaf-cert-service/templates/service.yaml
deleted file mode 100644
index f3c0ee0c..00000000
--- a/certService/helm/aaf-cert-service/templates/service.yaml
+++ /dev/null
@@ -1,11 +0,0 @@
-apiVersion: v1
-kind: Service
-metadata:
- name: {{ .Chart.Name }}
-spec:
- type: {{ .Values.service.type }}
- selector:
- app: {{ .Values.appLabel }}
- ports:
- - protocol: TCP
- port: {{ .Values.containerPort }} \ No newline at end of file