From bfee1f32cf7dfd926ed986a93559c0cef428aa76 Mon Sep 17 00:00:00 2001 From: Alexander Matyushentsev Date: Wed, 3 Jan 2018 11:55:33 -0800 Subject: [PATCH] Remove obsolete alro-lite chart --- charts/argo-lite/.helmignore | 21 ------------ charts/argo-lite/Chart.yaml | 8 ----- charts/argo-lite/templates/NOTES.txt | 19 ----------- charts/argo-lite/templates/_helpers.tpl | 16 --------- charts/argo-lite/templates/deployment.yaml | 38 ---------------------- charts/argo-lite/templates/service.yaml | 19 ----------- charts/argo-lite/values.yaml | 21 ------------ 7 files changed, 142 deletions(-) delete mode 100644 charts/argo-lite/.helmignore delete mode 100644 charts/argo-lite/Chart.yaml delete mode 100644 charts/argo-lite/templates/NOTES.txt delete mode 100644 charts/argo-lite/templates/_helpers.tpl delete mode 100644 charts/argo-lite/templates/deployment.yaml delete mode 100644 charts/argo-lite/templates/service.yaml delete mode 100644 charts/argo-lite/values.yaml diff --git a/charts/argo-lite/.helmignore b/charts/argo-lite/.helmignore deleted file mode 100644 index f0c13194..00000000 --- a/charts/argo-lite/.helmignore +++ /dev/null @@ -1,21 +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 diff --git a/charts/argo-lite/Chart.yaml b/charts/argo-lite/Chart.yaml deleted file mode 100644 index bbd8579b..00000000 --- a/charts/argo-lite/Chart.yaml +++ /dev/null @@ -1,8 +0,0 @@ -apiVersion: v1 -description: Lighweight workflow engine for Kubernetes -name: argo-lite -version: 0.1.0 -icon: https://raw.githubusercontent.com/argoproj/argo/master/saas/axops/src/ui/src/assets/favicon/favicon-32x32.png -keywords: -- workflow -- ci diff --git a/charts/argo-lite/templates/NOTES.txt b/charts/argo-lite/templates/NOTES.txt deleted file mode 100644 index ccfecb7e..00000000 --- a/charts/argo-lite/templates/NOTES.txt +++ /dev/null @@ -1,19 +0,0 @@ -1. Get the application URL by running these commands: -{{- if .Values.ingress.enabled }} -{{- range .Values.ingress.hosts }} - http://{{ . }} -{{- end }} -{{- else if contains "NodePort" .Values.service.type }} - export NODE_PORT=$(kubectl get --namespace {{ .Release.Namespace }} -o jsonpath="{.spec.ports[0].nodePort}" services {{ template "fullname" . }}) - export NODE_IP=$(kubectl get nodes --namespace {{ .Release.Namespace }} -o jsonpath="{.items[0].status.addresses[0].address}") - echo http://$NODE_IP:$NODE_PORT -{{- else if contains "LoadBalancer" .Values.service.type }} - NOTE: It may take a few minutes for the LoadBalancer IP to be available. - You can watch the status of by running 'kubectl get svc -w {{ template "fullname" . }}' - export SERVICE_IP=$(kubectl get svc --namespace {{ .Release.Namespace }} {{ template "fullname" . }} -o jsonpath='{.status.loadBalancer.ingress[0].ip}') - echo http://$SERVICE_IP:{{ .Values.service.externalPort }} -{{- else if contains "ClusterIP" .Values.service.type }} - export POD_NAME=$(kubectl get pods --namespace {{ .Release.Namespace }} -l "app={{ template "name" . }},release={{ .Release.Name }}" -o jsonpath="{.items[0].metadata.name}") - echo "Visit http://127.0.0.1:8080 to use your application" - kubectl port-forward $POD_NAME 8080:{{ .Values.service.externalPort }} -{{- end }} diff --git a/charts/argo-lite/templates/_helpers.tpl b/charts/argo-lite/templates/_helpers.tpl deleted file mode 100644 index f0d83d2e..00000000 --- a/charts/argo-lite/templates/_helpers.tpl +++ /dev/null @@ -1,16 +0,0 @@ -{{/* vim: set filetype=mustache: */}} -{{/* -Expand the name of the chart. -*/}} -{{- define "name" -}} -{{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" -}} -{{- end -}} - -{{/* -Create a default fully qualified app name. -We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec). -*/}} -{{- define "fullname" -}} -{{- $name := default .Chart.Name .Values.nameOverride -}} -{{- printf "%s-%s" .Release.Name $name | trunc 63 | trimSuffix "-" -}} -{{- end -}} diff --git a/charts/argo-lite/templates/deployment.yaml b/charts/argo-lite/templates/deployment.yaml deleted file mode 100644 index 1b093303..00000000 --- a/charts/argo-lite/templates/deployment.yaml +++ /dev/null @@ -1,38 +0,0 @@ -apiVersion: extensions/v1beta1 -kind: Deployment -metadata: - name: {{ template "fullname" . }} - labels: - app: {{ template "name" . }} - chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }} - release: {{ .Release.Name }} - heritage: {{ .Release.Service }} -spec: - replicas: {{ .Values.replicaCount }} - template: - metadata: - labels: - app: {{ template "name" . }} - release: {{ .Release.Name }} - spec: - containers: - - name: {{ .Chart.Name }} - image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}" - imagePullPolicy: {{ .Values.image.pullPolicy }} - command: ["node", "/app/dist/main.js", "--engine", "kubernetes-in-cluster", "-u", "/app/dist/ui"] - ports: - - containerPort: {{ .Values.service.internalPort }} - livenessProbe: - httpGet: - path: / - port: {{ .Values.service.internalPort }} - readinessProbe: - httpGet: - path: / - port: {{ .Values.service.internalPort }} - resources: -{{ toYaml .Values.resources | indent 12 }} - {{- if .Values.nodeSelector }} - nodeSelector: -{{ toYaml .Values.nodeSelector | indent 8 }} - {{- end }} diff --git a/charts/argo-lite/templates/service.yaml b/charts/argo-lite/templates/service.yaml deleted file mode 100644 index f311d10a..00000000 --- a/charts/argo-lite/templates/service.yaml +++ /dev/null @@ -1,19 +0,0 @@ -apiVersion: v1 -kind: Service -metadata: - name: {{ template "fullname" . }} - labels: - app: {{ template "name" . }} - chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }} - release: {{ .Release.Name }} - heritage: {{ .Release.Service }} -spec: - type: {{ .Values.service.type }} - ports: - - port: {{ .Values.service.externalPort }} - targetPort: {{ .Values.service.internalPort }} - protocol: TCP - name: {{ .Values.service.name }} - selector: - app: {{ template "name" . }} - release: {{ .Release.Name }} diff --git a/charts/argo-lite/values.yaml b/charts/argo-lite/values.yaml deleted file mode 100644 index fe07a32d..00000000 --- a/charts/argo-lite/values.yaml +++ /dev/null @@ -1,21 +0,0 @@ -replicaCount: 1 -image: - repository: argoproj/argo-lite - tag: latest - pullPolicy: IfNotPresent -service: - name: nginx - type: ClusterIP - externalPort: 8080 - internalPort: 8080 -ingress: - enabled: false - hosts: - - chart-example.local -resources: - limits: - cpu: 100m - memory: 512Mi - requests: - cpu: 100m - memory: 512Mi