summaryrefslogtreecommitdiffstats
path: root/kud/tests/openness/eaa
diff options
context:
space:
mode:
Diffstat (limited to 'kud/tests/openness/eaa')
-rw-r--r--kud/tests/openness/eaa/helm/eaa/Chart.yaml18
-rw-r--r--kud/tests/openness/eaa/helm/eaa/templates/eaa-deployment.yaml56
-rw-r--r--kud/tests/openness/eaa/helm/eaa/templates/eaa-service.yaml18
-rw-r--r--kud/tests/openness/eaa/helm/eaa/templates/eaa-tls.yaml7
-rw-r--r--kud/tests/openness/eaa/helm/eaa/values.yaml77
-rw-r--r--kud/tests/openness/eaa/profile/manifest.yaml4
-rw-r--r--kud/tests/openness/eaa/profile/override_values.yaml0
7 files changed, 180 insertions, 0 deletions
diff --git a/kud/tests/openness/eaa/helm/eaa/Chart.yaml b/kud/tests/openness/eaa/helm/eaa/Chart.yaml
new file mode 100644
index 00000000..b1875305
--- /dev/null
+++ b/kud/tests/openness/eaa/helm/eaa/Chart.yaml
@@ -0,0 +1,18 @@
+# Copyright 2018 Intel Corporation, Inc
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+apiVersion: v1
+description: Openness EAA Helm Charts for version 19.12
+name: eaa
+version: 1.0.0
diff --git a/kud/tests/openness/eaa/helm/eaa/templates/eaa-deployment.yaml b/kud/tests/openness/eaa/helm/eaa/templates/eaa-deployment.yaml
new file mode 100644
index 00000000..69f4cb3a
--- /dev/null
+++ b/kud/tests/openness/eaa/helm/eaa/templates/eaa-deployment.yaml
@@ -0,0 +1,56 @@
+apiVersion: apps/v1
+kind: Deployment
+metadata:
+ name: {{ .Values.deployment.eaa.name }}
+ namespace: {{ .Release.Namespace }}
+spec:
+ replicas: 1
+ selector:
+ matchLabels:
+ name: {{ .Values.deployment.eaa.name }}
+ template:
+ metadata:
+ labels:
+ name: {{ .Values.deployment.eaa.name }}
+ spec:
+ initContainers:
+ - name: {{ .Values.initContainer.name }}
+ image: {{ .Values.initContainer.image }}
+ command: ["/bin/sh"]
+ args: ["-c", "pwd"]
+ imagePullPolicy: IfNotPresent
+ resources:
+ requests:
+ cpu: {{ .Values.initContainer.resource.requests.cpu }}
+ limits:
+ cpu: {{ .Values.initContainer.resource.limits.cpu }}
+ memory: {{ .Values.initContainer.resource.limits.memory }}
+ volumeMounts:
+ - name: {{ .Values.initContainer.volumeMounts.certsSec.name }}
+ mountPath: {{ .Values.initContainer.volumeMounts.certsSec.mountPath }}
+ - name: {{ .Values.initContainer.volumeMounts.certs.name }}
+ mountPath: {{ .Values.initContainer.volumeMounts.certs.mountPath }}
+ containers:
+ - name: {{ .Values.container.name }}
+ image: {{ .Values.container.image }}
+ imagePullPolicy: IfNotPresent
+ securityContext:
+ readOnlyRootFilesystem: true
+ resources:
+ requests:
+ cpu: {{ .Values.container.resource.requests.cpu }}
+ limits:
+ cpu: {{ .Values.container.resource.limits.cpu }}
+ memory: {{ .Values.container.resource.limits.memory }}
+ volumeMounts:
+ - name: {{ .Values.container.volumeMounts.certs.name }}
+ mountPath: {{ .Values.container.volumeMounts.certs.mountPath }}
+ - name: {{ .Values.container.volumeMounts.certsSec.name }}
+ mountPath: {{ .Values.container.volumeMounts.certsSec.mountPath }}
+ volumes:
+ - name: {{ .Values.volumes.certsSec.name }}
+ secret:
+ secretName: {{ .Values.volumes.certsSec.secret.secretName }}
+ - name: {{ .Values.volumes.certs.name }}
+ hostPath:
+ path: {{ .Values.volumes.certs.hostPath.path }}
diff --git a/kud/tests/openness/eaa/helm/eaa/templates/eaa-service.yaml b/kud/tests/openness/eaa/helm/eaa/templates/eaa-service.yaml
new file mode 100644
index 00000000..d9ee90dd
--- /dev/null
+++ b/kud/tests/openness/eaa/helm/eaa/templates/eaa-service.yaml
@@ -0,0 +1,18 @@
+apiVersion: v1
+kind: Service
+metadata:
+ name: {{ .Values.service.eaa.name }}
+ namespace: {{ .Release.Namespace }}
+spec:
+ clusterIP: {{ .Values.service.eaa.clusterIP }}
+ selector:
+ name: eaa
+ ports:
+ - name: {{ .Values.service.eaa.httpPortName}}
+ protocol: {{ .Values.service.eaa.httpProtocol}}
+ port: {{ .Values.service.eaa.httpPort }}
+ targetPort: {{ .Values.service.eaa.httpTargetPort }}
+ - name: {{ .Values.service.eaa.httpsPortName }}
+ protocol: {{ .Values.service.eaa.httpsProtocol }}
+ port: {{ .Values.service.eaa.httpsPort }}
+ targetPort: {{ .Values.service.eaa.httpsTargetPort }}
diff --git a/kud/tests/openness/eaa/helm/eaa/templates/eaa-tls.yaml b/kud/tests/openness/eaa/helm/eaa/templates/eaa-tls.yaml
new file mode 100644
index 00000000..52de1ce0
--- /dev/null
+++ b/kud/tests/openness/eaa/helm/eaa/templates/eaa-tls.yaml
@@ -0,0 +1,7 @@
+apiVersion: v1
+kind: Secret
+metadata:
+ name: {{ .Values.eaaTls.name }}
+ namespace: {{ .Release.Namespace }}
+type: Opaque
+data:
diff --git a/kud/tests/openness/eaa/helm/eaa/values.yaml b/kud/tests/openness/eaa/helm/eaa/values.yaml
new file mode 100644
index 00000000..2824c673
--- /dev/null
+++ b/kud/tests/openness/eaa/helm/eaa/values.yaml
@@ -0,0 +1,77 @@
+# Copyright 2018 Intel Corporation, Inc
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+service:
+ eaa:
+ name: eaa
+ clusterIP: None
+ httpPortName: http
+ httpProtocol: TCP
+ httpPort: 80
+ httpTargetPort: 80
+ httpsPortName: https
+ httpsProtocol: TCP
+ httpsPort: 443
+ httpsTargetPort: 443
+
+deployment:
+ eaa:
+ name: eaa
+
+initContainer:
+ name: alpine
+ image: alpine:latest
+ resource:
+ requests:
+ cpu: 0.1
+ limits:
+ cpu: 0.1
+ memory: 128Mi
+ volumeMounts:
+ certsSec:
+ name: certs-sec
+ mountPath: /root/certs-sec
+ certs:
+ name: certs
+ mountPath: /root/certs
+
+container:
+ name: eaa
+ image: integratedcloudnative/eaa:1.0
+ resource:
+ requests:
+ cpu: 0.1
+ limits:
+ cpu: 1
+ memory: 128Mi
+ volumeMounts:
+ certs:
+ name: certs
+ mountPath: /home/eaa/certs/eaa
+ certsSec:
+ name: certs-sec
+ mountPath: /home/eaa/certs-sec
+
+volumes:
+ certsSec:
+ name: certs-sec
+ secret:
+ secretName: eaa-tls
+ certs:
+ name: certs
+ hostPath:
+ path: /etc/openness/certs/eaa
+
+eaaTls:
+ name: eaa-tls
diff --git a/kud/tests/openness/eaa/profile/manifest.yaml b/kud/tests/openness/eaa/profile/manifest.yaml
new file mode 100644
index 00000000..4d381d02
--- /dev/null
+++ b/kud/tests/openness/eaa/profile/manifest.yaml
@@ -0,0 +1,4 @@
+---
+version: v1
+type:
+ values: "override_values.yaml"
diff --git a/kud/tests/openness/eaa/profile/override_values.yaml b/kud/tests/openness/eaa/profile/override_values.yaml
new file mode 100644
index 00000000..e69de29b
--- /dev/null
+++ b/kud/tests/openness/eaa/profile/override_values.yaml