From 2e4aabb689b91885777a3c57657b92e8611867e8 Mon Sep 17 00:00:00 2001 From: WilliamMiceli Date: Sat, 27 Oct 2018 15:23:54 -0400 Subject: [PATCH] Not needed anymore --- templates/OpenHAB/0/README.md | 1 - templates/OpenHAB/0/docker-compose.yml | 58 ---------- templates/OpenHAB/0/rancher-compose.yml | 133 ---------------------- templates/OpenHAB/config.yml | 8 -- templates/minecraft/0/README.md | 1 - templates/minecraft/0/docker-compose.yml | 0 templates/minecraft/0/rancher-compose.yml | 9 -- templates/minecraft/config.yml | 8 -- 8 files changed, 218 deletions(-) delete mode 100644 templates/OpenHAB/0/README.md delete mode 100644 templates/OpenHAB/0/docker-compose.yml delete mode 100644 templates/OpenHAB/0/rancher-compose.yml delete mode 100644 templates/OpenHAB/config.yml delete mode 100644 templates/minecraft/0/README.md delete mode 100644 templates/minecraft/0/docker-compose.yml delete mode 100644 templates/minecraft/0/rancher-compose.yml delete mode 100644 templates/minecraft/config.yml diff --git a/templates/OpenHAB/0/README.md b/templates/OpenHAB/0/README.md deleted file mode 100644 index 1e749c4..0000000 --- a/templates/OpenHAB/0/README.md +++ /dev/null @@ -1 +0,0 @@ -# OpenHAB \ No newline at end of file diff --git a/templates/OpenHAB/0/docker-compose.yml b/templates/OpenHAB/0/docker-compose.yml deleted file mode 100644 index 14742d5..0000000 --- a/templates/OpenHAB/0/docker-compose.yml +++ /dev/null @@ -1,58 +0,0 @@ -version: '2' -services: - openhab: -{{- if eq .Values.PCAP_SUPPORT_ENABLED "true"}} - cap_add: - - NET_ADMIN - - NET_RAW - command: "./start.sh" -{{- end}} -{{- if or (ne .Values.DEVICE_MAPPING_1 "") (ne .Values.DEVICE_MAPPING_2 "") }} - devices: -{{- end}} -{{- if ne .Values.DEVICE_MAPPING_1 ""}} - - "${DEVICE_MAPPING_1}" -{{- end}} -{{- if ne .Values.DEVICE_MAPPING_2 ""}} - - "${DEVICE_MAPPING_2}" -{{- end}} - environment: - CRYPTO_POLICY: "${CRYPTO_POLICY}" -{{- if ne .Values.EXTRA_JAVA_OPTS ""}} - EXTRA_JAVA_OPTS: "${EXTRA_JAVA_OPTS}" -{{- end}} - OPENHAB_HTTP_PORT: "${HTTP_PORT}" - OPENHAB_HTTPS_PORT: "${HTTPS_PORT}" - image: "openhab/openhab:2.4.0-snapshot-${IMAGE_ARCHITECTURE}-${IMAGE_DISTRIBUTION}" - labels: - io.rancher.container.pull_image: always -{{- if ne .Values.HOST_LABEL ""}} - io.rancher.scheduler.affinity:host_label: ${HOST_LABEL} -{{- end}} -{{- if ne .Values.NETWORK_MODE "managed"}} - network_mode: ${NETWORK_MODE} -{{- end}} - ports: - - ${HTTP_PORT}:${HTTP_PORT} - - ${HTTPS_PORT}:${HTTPS_PORT} - restart: unless-stopped - tty: true - volumes: -{{- if eq .Values.USE_HOST_TIME "true"}} - - "/etc/localtime:/etc/localtime:ro" - - "/etc/timezone:/etc/timezone:ro" -{{- end}} - - "addons:/openhab/addons" - - "conf:/openhab/conf" - - "userdata:/openhab/userdata" - -volumes: - addons: - driver: ${VOLUME_DRIVER} - per_container: true - conf: - driver: ${VOLUME_DRIVER} - per_container: true - userdata: - driver: ${VOLUME_DRIVER} - per_container: true \ No newline at end of file diff --git a/templates/OpenHAB/0/rancher-compose.yml b/templates/OpenHAB/0/rancher-compose.yml deleted file mode 100644 index bdd48ec..0000000 --- a/templates/OpenHAB/0/rancher-compose.yml +++ /dev/null @@ -1,133 +0,0 @@ -version: '2' -catalog: - name: OpenHAB - version: latest - # description: - # minimum_rancher_version: - # maximum_rancher_version: - # upgrade_from: - questions: - - - variable: "IMAGE_ARCHITECTURE" - label: "Image Architecture" - description: | - Use "amd64" for AMD/Intel 64-bit architectures (e.g. x64, x86-64, x86_64). - Use "armhf" for ARMv7 32-bit architectures (e.g. most RaspberryPi 1/2/3). - Use "arm64" for ARMv8 64-bit architectures (not RaspberryPi 3) - required: true - default: "amd64" - type: enum - options: - - amd64 - - armhf - - arm64 - - - variable: "IMAGE_DISTRIBUTION" - label: "Image Distribution" - description: "The distribution on which the container image is based" - required: true - default: "debian" - type: enum - options: - - alpine - - debian - - - variable: "NETWORK_MODE" - label: "Network Mode" - description: "The network stack to connect the container to" - required: true - default: "host" - type: enum - options: - - host - - bridge - - managed - - none - - - variable: "HOST_LABEL" - label: "Host Label" - description: "Schedules openHAB to run only on hosts that have a specific label. Example: 'openhab=true'" - default: "" - type: "string" - required: false - - - variable: "USE_HOST_TIME" - label: "Use Host Time" - description: "Adds /etc/localtime and /etc/timezone as volumes from the host for providing timezone information" - required: true - default: false - type: boolean - - - variable: "PCAP_SUPPORT_ENABLED" - label: "Enable Packet Capture Support" - description: "Runs openHAB as root and adds network capabilities e.g. for libpcap support" - required: true - default: false - type: boolean - - - variable: "HTTP_PORT" - label: "HTTP Port" - description: "The port used for HTTP connections" - default: 8080 - required: true - type: "int" - - - variable: "HTTPS_PORT" - label: "HTTPS Port" - description: "The port used for HTTPS connections" - default: 8443 - required: true - type: "int" - - - variable: "DEVICE_MAPPING_1" - label: "Device Mapping 1" - description: "Maps a device from the host to the container. Example: '/dev/ttyUSB0' or '/dev/ttyController:/dev/ttyS1'" - default: "" - type: "string" - required: false - - - variable: "DEVICE_MAPPING_2" - label: "Device Mapping 2" - description: "Maps another device from the host to the container. Example: '/dev/ttyUSB1' or '/dev/ttyController:/dev/ttyS2'" - default: "" - type: "string" - required: false - - - variable: "CRYPTO_POLICY" - label: "Java Cryptographic Strength Policy" - description: "Due to local laws and export restrictions the container uses Java with a limited cryptographic strength policy by default. Some openHAB functionality (e.g. KM200 binding) may depend on unlimited strength. Before enabling this make sure this is allowed by local laws and you agree with the applicable license and terms" - required: true - default: "limited" - type: enum - options: - - limited - - unlimited - - - variable: "VOLUME_DRIVER" - label: "Volume Driver" - description: "The volume driver used for persisting data" - required: true - default: "local" - type: enum - options: - - local - - rancher-ebs - - rancher-efs - - rancher-nfs - - - variable: "EXTRA_JAVA_OPTS" - label: "Extra Java Options" - description: "Starts the openHAB JVM with the provided extra options. Example: '-Dgnu.io.rxtx.SerialPorts=/dev/ttyAMA0:/dev/zwave'" - default: "" - type: "string" - required: false - -services: - openhab: - scale: 1 - health_check: - port: ${HTTP_PORT} - interval: 5000 - response_timeout: 5000 - healthy_threshold: 2 - unhealthy_threshold: 3 \ No newline at end of file diff --git a/templates/OpenHAB/config.yml b/templates/OpenHAB/config.yml deleted file mode 100644 index 7bcf190..0000000 --- a/templates/OpenHAB/config.yml +++ /dev/null @@ -1,8 +0,0 @@ -name: OpenHAB -description: | - Status: NOT READY -# version: -# category: -maintainer: WilliamMiceli -# license: -# projectURL: https://www.openhab.org \ No newline at end of file diff --git a/templates/minecraft/0/README.md b/templates/minecraft/0/README.md deleted file mode 100644 index d918f85..0000000 --- a/templates/minecraft/0/README.md +++ /dev/null @@ -1 +0,0 @@ -# Minecraft \ No newline at end of file diff --git a/templates/minecraft/0/docker-compose.yml b/templates/minecraft/0/docker-compose.yml deleted file mode 100644 index e69de29..0000000 diff --git a/templates/minecraft/0/rancher-compose.yml b/templates/minecraft/0/rancher-compose.yml deleted file mode 100644 index 59371c5..0000000 --- a/templates/minecraft/0/rancher-compose.yml +++ /dev/null @@ -1,9 +0,0 @@ -version: '2' -catalog: - name: Minecraft - version: latest - # description: - # minimum_rancher_version: - # maximum_rancher_version: - # upgrade_from: - # questions: \ No newline at end of file diff --git a/templates/minecraft/config.yml b/templates/minecraft/config.yml deleted file mode 100644 index 49b5c71..0000000 --- a/templates/minecraft/config.yml +++ /dev/null @@ -1,8 +0,0 @@ -name: Minecraft -description: | - Status: NOT READY -# version: -category: Entertainment -maintainer: WilliamMiceli -# license: -# projectURL: \ No newline at end of file