summaryrefslogtreecommitdiffstats
path: root/certService
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
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')
-rw-r--r--certService/helm/aaf-cert-service/.helmignore22
-rw-r--r--certService/helm/aaf-cert-service/Chart.yaml5
-rw-r--r--certService/helm/aaf-cert-service/resources/certServiceClient-keystore.jksbin4087 -> 0 bytes
-rw-r--r--certService/helm/aaf-cert-service/resources/certServiceServer-keystore.jksbin4126 -> 0 bytes
-rw-r--r--certService/helm/aaf-cert-service/resources/certServiceServer-keystore.p12bin4691 -> 0 bytes
-rw-r--r--certService/helm/aaf-cert-service/resources/cmpServers.json24
-rw-r--r--certService/helm/aaf-cert-service/resources/root.crt32
-rw-r--r--certService/helm/aaf-cert-service/resources/truststore.jksbin1722 -> 0 bytes
-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
-rw-r--r--certService/helm/aaf-cert-service/values.yaml52
14 files changed, 0 insertions, 244 deletions
diff --git a/certService/helm/aaf-cert-service/.helmignore b/certService/helm/aaf-cert-service/.helmignore
deleted file mode 100644
index 50af0317..00000000
--- a/certService/helm/aaf-cert-service/.helmignore
+++ /dev/null
@@ -1,22 +0,0 @@
-# Patterns to ignore when building packages.
-# This supports shell glob matching, relative path matching, and
-# negation (prefixed with !). Only one pattern per line.
-.DS_Store
-# Common VCS dirs
-.git/
-.gitignore
-.bzr/
-.bzrignore
-.hg/
-.hgignore
-.svn/
-# Common backup files
-*.swp
-*.bak
-*.tmp
-*~
-# Various IDEs
-.project
-.idea/
-*.tmproj
-.vscode/
diff --git a/certService/helm/aaf-cert-service/Chart.yaml b/certService/helm/aaf-cert-service/Chart.yaml
deleted file mode 100644
index 37c7d148..00000000
--- a/certService/helm/aaf-cert-service/Chart.yaml
+++ /dev/null
@@ -1,5 +0,0 @@
-apiVersion: v1
-appVersion: "1.0"
-description: A Helm chart for AAF Cert Service
-name: aaf-cert-service
-version: 0.1.0
diff --git a/certService/helm/aaf-cert-service/resources/certServiceClient-keystore.jks b/certService/helm/aaf-cert-service/resources/certServiceClient-keystore.jks
deleted file mode 100644
index f24908c5..00000000
--- a/certService/helm/aaf-cert-service/resources/certServiceClient-keystore.jks
+++ /dev/null
Binary files differ
diff --git a/certService/helm/aaf-cert-service/resources/certServiceServer-keystore.jks b/certService/helm/aaf-cert-service/resources/certServiceServer-keystore.jks
deleted file mode 100644
index 89605b6b..00000000
--- a/certService/helm/aaf-cert-service/resources/certServiceServer-keystore.jks
+++ /dev/null
Binary files differ
diff --git a/certService/helm/aaf-cert-service/resources/certServiceServer-keystore.p12 b/certService/helm/aaf-cert-service/resources/certServiceServer-keystore.p12
deleted file mode 100644
index 2106c817..00000000
--- a/certService/helm/aaf-cert-service/resources/certServiceServer-keystore.p12
+++ /dev/null
Binary files differ
diff --git a/certService/helm/aaf-cert-service/resources/cmpServers.json b/certService/helm/aaf-cert-service/resources/cmpServers.json
deleted file mode 100644
index d6557c52..00000000
--- a/certService/helm/aaf-cert-service/resources/cmpServers.json
+++ /dev/null
@@ -1,24 +0,0 @@
-{
- "cmpv2Servers": [
- {
- "caName": "Client",
- "url": "http://aafcert-ejbca:8080/ejbca/publicweb/cmp/cmp",
- "issuerDN": "CN=ManagementCA",
- "caMode": "CLIENT",
- "authentication": {
- "iak": "mypassword",
- "rv": "mypassword"
- }
- },
- {
- "caName": "RA",
- "url": "http://aafcert-ejbca:8080/ejbca/publicweb/cmp/cmpRA",
- "issuerDN": "CN=ManagementCA",
- "caMode": "RA",
- "authentication": {
- "iak": "mypassword",
- "rv": "mypassword"
- }
- }
- ]
-}
diff --git a/certService/helm/aaf-cert-service/resources/root.crt b/certService/helm/aaf-cert-service/resources/root.crt
deleted file mode 100644
index faeee813..00000000
--- a/certService/helm/aaf-cert-service/resources/root.crt
+++ /dev/null
@@ -1,32 +0,0 @@
------BEGIN CERTIFICATE-----
-MIIFlDCCA3ygAwIBAgIETsAy8jANBgkqhkiG9w0BAQwFADByMQswCQYDVQQGEwJQ
-TDEUMBIGA1UECBMLRG9sbnkgU2xhc2sxEDAOBgNVBAcTB1dyb2NsYXcxFTATBgNV
-BAoTDFJvb3QgQ29tcGFueTERMA8GA1UECxMIUm9vdCBPcmcxETAPBgNVBAMTCHJv
-b3QuY29tMB4XDTIwMDQwMzA5MTYxNloXDTMwMDQwMTA5MTYxNlowcjELMAkGA1UE
-BhMCUEwxFDASBgNVBAgTC0RvbG55IFNsYXNrMRAwDgYDVQQHEwdXcm9jbGF3MRUw
-EwYDVQQKEwxSb290IENvbXBhbnkxETAPBgNVBAsTCFJvb3QgT3JnMREwDwYDVQQD
-Ewhyb290LmNvbTCCAiIwDQYJKoZIhvcNAQEBBQADggIPADCCAgoCggIBAImm68wu
-rtdkVrC5JI2y53+DoVE4al7NxC2yHeVW0PRD3CgW1xba6dlSQoDQQKkDkxtuNhlU
-IQxU1bbKR6syqJgpJXwSDx4sl4J5lQGWN+iuNA72C1IyXATOgowGq6PbOVVTkApy
-3+ZZGBCmweTjhvddAO7k5p8v+ePt17VvBTxSt6rSvrkGMbpCxBGAPfGpL9xykm9Z
-okVSlA42gGhbra499QTT0Yc/WPPFotKkDKFGaDrLW3NYX1Lio11myYNvLOMwfSEV
-Xy9vkwxcdqFJpHjx+EVLLQXw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yYw6rt/j
-uBzYtMOnEtnQKhxj4Wj7PO+StCgspoOByn0d+iSgDd2TlpWm4naP2pfFZT0R+TOH
-wzSH0F47TSfRd0++uEz/QhViybrvQK7yMt1G1YwZp2im+imuWwUC8Q==
------END CERTIFICATE-----
diff --git a/certService/helm/aaf-cert-service/resources/truststore.jks b/certService/helm/aaf-cert-service/resources/truststore.jks
deleted file mode 100644
index c32d37fd..00000000
--- a/certService/helm/aaf-cert-service/resources/truststore.jks
+++ /dev/null
Binary files differ
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
diff --git a/certService/helm/aaf-cert-service/values.yaml b/certService/helm/aaf-cert-service/values.yaml
deleted file mode 100644
index efb16a5a..00000000
--- a/certService/helm/aaf-cert-service/values.yaml
+++ /dev/null
@@ -1,52 +0,0 @@
-appLabel: aaf-cert-service
-replicaCount: 1
-repository: nexus3.onap.org:10001
-image: onap/org.onap.aaf.certservice.aaf-certservice-api:1.0.0
-pullPolicy: Always
-containerPort: 8443
-service:
- type: ClusterIP
-liveness:
- initialDelaySeconds: 60
- periodSeconds: 10
- command: curl https://localhost:$HTTPS_PORT/actuator/health --cacert $ROOT_CERT --cert-type p12 --cert $KEYSTORE_P12_PATH --pass $KEYSTORE_PASSWORD
-readiness:
- initialDelaySeconds: 30
- periodSeconds: 10
- command: curl https://localhost:$HTTPS_PORT/ready --cacert $ROOT_CERT --cert-type p12 --cert $KEYSTORE_P12_PATH --pass $KEYSTORE_PASSWORD
-volume:
- name: aaf-cert-service-volume
- mountPath: /etc/onap/aaf/certservice
-
-resources:
- limits:
- cpu: 2
- memory: 2Gi
- requests:
- cpu: 1
- memory: 1Gi
-
-secret:
- name: aaf-cert-service-secret
-
-tls:
- server:
- secret:
- name: aaf-cert-service-server-tls-secret
- volume:
- name: aaf-cert-service-server-tls-volume
- mountPath: /etc/onap/aaf/certservice/certs/
- client:
- secret:
- name: aaf-cert-service-client-tls-secret
-
-envs:
- keystore:
- jksName: certServiceServer-keystore.jks
- p12Name: certServiceServer-keystore.p12
- password: secret
- truststore:
- jksName: truststore.jks
- crtName: root.crt
- password: secret
-