From abea46eb8a3e05f6010247b526b5364ec312f2dc Mon Sep 17 00:00:00 2001 From: "Suren A. Chilingaryan" Date: Sun, 15 Apr 2018 12:10:44 +0200 Subject: Add another adei container with debugging/administrative tools to use in admin pod --- .../adei/templates/10-adei-debug-build.yml.j2 | 48 ++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 setup/projects/adei/templates/10-adei-debug-build.yml.j2 (limited to 'setup/projects/adei/templates/10-adei-debug-build.yml.j2') diff --git a/setup/projects/adei/templates/10-adei-debug-build.yml.j2 b/setup/projects/adei/templates/10-adei-debug-build.yml.j2 new file mode 100644 index 0000000..322b17e --- /dev/null +++ b/setup/projects/adei/templates/10-adei-debug-build.yml.j2 @@ -0,0 +1,48 @@ +apiVersion: v1 +kind: Template +metadata: + name: adei-debug-build + labels: + app: adei + annotations: + descriptions: "ADEI/Debug Build" +objects: + - kind: ImageStream + apiVersion: v1 + metadata: + name: adei-debug + - kind: "BuildConfig" + apiVersion: "v1" + metadata: + name: "adei-debug" + spec: +# runPolicy: "Serial" + successfulBuildsHistoryLimit: "{{ adei_pod_history_limit }}" + failedBuildsHistoryLimit: "{{ adei_pod_history_limit }}" + triggers: + - type: "ConfigChange" + - type: "ImageChange" + imageChange: {} + source: + type: "Git" + git: + uri: "http://adei.info/git/csa/devops/docker/adei.git" + contextDir: "adei-debug" + strategy: + dockerStrategy: + dockerfilePath: Dockerfile + from: + kind: "ImageStreamTag" + name: "adei:latest" + output: + to: + kind: "ImageStreamTag" + name: "adei-debug:latest" + imageLabels: + - name: "vendor" + value: "KIT" + - name: "author" + value: "Suren A. Chilingaryan" + - name: "authoritative-source-url" + value: "adei.info" + -- cgit v1.2.3