From 40c3ab914cf2d7729c32aab773a35e47d333aaf7 Mon Sep 17 00:00:00 2001 From: rimas Date: Wed, 5 Dec 2018 09:27:22 +0000 Subject: [PATCH] remove keel chart --- README.md | 6 +- stable/keel/.helmignore | 21 -- stable/keel/Chart.yaml | 19 -- stable/keel/OWNERS | 6 - stable/keel/README.md | 122 ------------ stable/keel/templates/00-namespace.yaml | 6 - stable/keel/templates/NOTES.txt | 33 ---- stable/keel/templates/_helpers.tpl | 32 --- stable/keel/templates/clusterrole.yaml | 50 ----- stable/keel/templates/clusterrolebinding.yaml | 14 -- stable/keel/templates/deployment.yaml | 185 ------------------ .../keel/templates/pod-disruption-budget.yaml | 16 -- stable/keel/templates/secrets-aws-ecr.yaml | 15 -- stable/keel/templates/secrets-google.yaml | 15 -- .../keel/templates/secrets-webhookrelay.yaml | 16 -- stable/keel/templates/service-account.yaml | 10 - stable/keel/templates/service.yaml | 27 --- stable/keel/values.yaml | 152 -------------- 18 files changed, 2 insertions(+), 743 deletions(-) delete mode 100644 stable/keel/.helmignore delete mode 100644 stable/keel/Chart.yaml delete mode 100644 stable/keel/OWNERS delete mode 100644 stable/keel/README.md delete mode 100644 stable/keel/templates/00-namespace.yaml delete mode 100644 stable/keel/templates/NOTES.txt delete mode 100644 stable/keel/templates/_helpers.tpl delete mode 100644 stable/keel/templates/clusterrole.yaml delete mode 100644 stable/keel/templates/clusterrolebinding.yaml delete mode 100644 stable/keel/templates/deployment.yaml delete mode 100644 stable/keel/templates/pod-disruption-budget.yaml delete mode 100644 stable/keel/templates/secrets-aws-ecr.yaml delete mode 100644 stable/keel/templates/secrets-google.yaml delete mode 100644 stable/keel/templates/secrets-webhookrelay.yaml delete mode 100644 stable/keel/templates/service-account.yaml delete mode 100644 stable/keel/templates/service.yaml delete mode 100644 stable/keel/values.yaml diff --git a/README.md b/README.md index 76d17d0..751dc64 100644 --- a/README.md +++ b/README.md @@ -15,17 +15,15 @@ Get the latest [Helm release](https://github.com/kubernetes/helm#install). $ helm repo update ``` -**Note:** Repo name was changed from `https://helm-charts.rimusz.net` to `https://charts.rimusz.net` - ### Install some chart -To install the contour chart with the release name `contour`: +To install the `contour` chart with the release name `contour`: ```console $ helm upgrade --install contour rimusz/contour ``` -Check contour chart [readme](stable/contour/README.md) for more customisation options. +Check contour chart [readme](stable/contour/README.md) for more customization options. ## Contributing to Rimusz Charts diff --git a/stable/keel/.helmignore b/stable/keel/.helmignore deleted file mode 100644 index f0c1319..0000000 --- a/stable/keel/.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/stable/keel/Chart.yaml b/stable/keel/Chart.yaml deleted file mode 100644 index 6fb33d2..0000000 --- a/stable/keel/Chart.yaml +++ /dev/null @@ -1,19 +0,0 @@ -apiVersion: v1 -name: keel -description: Open source, tool for automating Kubernetes deployment updates. Keel is stateless, robust and lightweight. -version: 0.7.2 -# Note that we use appVersion to get images tag, so make sure this is correct. -appVersion: 0.12.0 -keywords: -- kubernetes deployment -- helm release -- continuous deployment -home: https://keel.sh -sources: -- https://github.com/keel-hq/keel -maintainers: -- name: rimusz - email: rmocius@gmail.com -- name: rusenask - email: karolis.rusenas@gmail.com -engine: gotpl diff --git a/stable/keel/OWNERS b/stable/keel/OWNERS deleted file mode 100644 index 5ad8461..0000000 --- a/stable/keel/OWNERS +++ /dev/null @@ -1,6 +0,0 @@ -approvers: -- rimusz -- rusenask -reviewers: -- rimusz -- rusenask diff --git a/stable/keel/README.md b/stable/keel/README.md deleted file mode 100644 index 9e31b2e..0000000 --- a/stable/keel/README.md +++ /dev/null @@ -1,122 +0,0 @@ -# Keel - automated Kubernetes deployments for the rest of us - -* Website [https://keel.sh](https://keel.sh) -* User Guide [https://keel.sh/user-guide/](https://keel.sh/user-guide/) - -Keel is a tool for automating [Kubernetes](https://kubernetes.io/) deployment updates. Keel is stateless, robust and lightweight. - -Keel provides several key features: - -* __[Kubernetes](https://kubernetes.io/) and [Helm](https://helm.sh) providers__ - Keel has direct integrations with Kubernetes and Helm. - -* __No CLI/API__ - tired of `***ctl` for everything? Keel doesn't have one. Gets job done through labels, annotations, charts. - -* __Semver policies__ - specify update policy for each deployment/Helm release individually. - -* __Automatic [Google Container Registry](https://cloud.google.com/container-registry/) configuration__ - Keel automatically sets up topic and subscriptions for your deployment images by periodically scanning your environment. - -* __[Native, DockerHub and Quay webhooks](https://keel.sh/user-guide/triggers/#webhooks) support__ - once webhook is received impacted deployments will be identified and updated. - -* __[Polling](https://keel.sh/user-guide/#polling-deployment-example)__ - when webhooks and pubsub aren't available - Keel can still be useful by checking Docker Registry for new tags (if current tag is semver) or same tag SHA digest change (ie: `latest`). - -* __Notifications__ - out of the box Keel has Slack and standard webhook notifications, more info [here](https://keel.sh/user-guide/#notifications) - - -## Installing - -Docker image _polling_, _Kubernetes provider_ and _Helm provider_ support are set by default, then Kubernetes _deployments_ can be upgraded when new Docker image is available: - -```console -$ helm upgrade --install keel --namespace keel rimusz/keel -``` - -### Setting up Helm release to be automatically updated by Keel - -Add the following to your app's `values.yaml` file and do `helm upgrade ...`: - -``` -keel: - # keel policy (all/major/minor/patch/force) - policy: all - # trigger type, defaults to events such as pubsub, webhooks - trigger: poll - # polling schedule - pollSchedule: "@every 3m" - # images to track and update - images: - - repository: image.repository # it must be the same names as your app's values - tag: image.tag # it must be the same names as your app's values -``` - -The same can be applied with `--set` flag without using `values.yaml` file: - -```console -$ helm upgrade --install whd webhookdemo --namespace keel --reuse-values \ - --set keel.policy="all",keel.trigger="poll",keel.pollSchedule="@every 3m" \ - --set keel.images[0].repository="image.repository" \ - --set keel.images[0].tag="image.tag" -``` - -You can read in more details about supported policies, triggers and etc in the [User Guide](https://keel.sh/user-guide/). - -Also you should check the [Webhooh demo app](https://github.com/webhookrelay/webhook-demo) and it's chart to have more clear -idea how to set automatic updates. - - -## Uninstalling the Chart - -To uninstall/delete the `keel` deployment: - -```console -$ helm delete --purge keel -``` - -The command removes all the Kubernetes components associated with the chart and deletes the release. - -## Configuration - -The following table lists has the main configurable parameters (polling, triggers, notifications, service) of the _Keel_ chart and they apply to both Kubernetes and Helm providers: - -| Parameter | Description | Default | -| --------------------------------- | -------------------------------------- | --------------------------------------------------------- | -| `polling.enabled` | Docker registries polling | `true` | -| `helmProvider.enabled` | Enable/disable Helm provider | `true` | -| `gcr.enabled` | Enable/disable GCR Registry | `false` | -| `gcr.projectID` | GCP Project ID GCR belongs to | | -| `gcr.pubsub.enabled` | Enable/disable GCP Pub/Sub trigger | `false` | -| `ecr.enabled` | Enable/disable AWS ECR Registry | `false` | -| `ecr.accessKeyId` | AWS_ACCESS_KEY_ID for ECR Registry | | -| `ecr.secretAccessKey` | AWS_SECRET_ACCESS_KEY for ECR Registry | | -| `ecr.region` | AWS_REGION for ECR Registry | | -| `webhook.enabled` | Enable/disable Webhook Notification | `false` | -| `webhook.endpoint` | Remote webhook endpoint | | -| `slack.enabled` | Enable/disable Slack Notification | `false` | -| `slack.token` | Slack token | | -| `slack.channel` | Slack channel | | -| `slack.approvalsChannel` | Slack channel for approvals | | -| `service.enable` | Enable/disable Keel service | `false` | -| `service.type` | Keel service type | `LoadBalancer` | -| `service.externalPort` | Keel service port | `9300` | -| `webhookRelay.enabled` | Enable/disable WebhookRelay integration| `false` | -| `webhookRelay.key` | WebhookRelay key | | -| `webhookRelay.secret` | WebhookRelay secret | | -| `webhookRelay.bucket` | WebhookRelay bucket | | -| `rbac.enabled` | Enable/disable RBAC installation | `false` | -| `hipchat.enabled` | Enable/disable hipchat integration | `false` | -| `hipchat.token` | Hipchat token | | -| `hipchat.channel` | Hipchat channel | | -| `hipchat.approvalsChannel` | Hipchat channel for approvals | | -| `hipchat.botName` | Name of the Hipchat bot | | -| `hipchat.userName` | Hipchat username in Jabber format | | -| `hipchat.password` | Hipchat password for approvals user | | -| `googleApplicationCredentials` | GCP Service account key configurable | | -| `notificationLevel` | Keel notification level | `info` | - -Specify each parameter using the `--set key=value[,key=value]` argument to `helm install`. - -Alternatively, a YAML file that specifies the values for the above parameters can be provided while installing the chart. For example, - -```console -$ helm install --name keel --namespace keel -f values.yaml rimusz/keel -``` -> **Tip**: You can use the default [values.yaml](values.yaml) diff --git a/stable/keel/templates/00-namespace.yaml b/stable/keel/templates/00-namespace.yaml deleted file mode 100644 index 72c8a14..0000000 --- a/stable/keel/templates/00-namespace.yaml +++ /dev/null @@ -1,6 +0,0 @@ -{{ if .Values.createNamespaceResource }} -apiVersion: v1 -kind: Namespace -metadata: - name: {{ .Release.Namespace | quote }} -{{- end }} diff --git a/stable/keel/templates/NOTES.txt b/stable/keel/templates/NOTES.txt deleted file mode 100644 index ba9cbb2..0000000 --- a/stable/keel/templates/NOTES.txt +++ /dev/null @@ -1,33 +0,0 @@ -1. The {{ template "keel.name" . }} is getting provisioned in your cluster. After a few minutes, you can run the following to verify. - -To verify that {{ template "keel.name" . }} has started, run: - - kubectl --namespace={{ .Release.Namespace }} get pods -l "app={{ template "keel.name" . }}" - -{{- if .Values.service.enabled }} - -2. Get your Keel service URL: - -{{- if contains "LoadBalancer" .Values.service.type }} - - NOTE: It may take a few minutes for the LoadBalancer IP to be available. - Watch the status with: 'kubectl get svc --namespace {{ .Release.Namespace }} -w {{ template "keel.name" . }}' - - export SERVICE_IP=$(kubectl get svc --namespace {{ .Release.Namespace }} {{ template "keel.name" . }} -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 "keel.name" . }}" -o jsonpath="{.items[0].metadata.name}") - echo http://127.0.0.1:{{ .Values.service.externalPort }} - kubectl port-forward --namespace {{ .Release.Namespace }} $POD_NAME {{ .Values.service.externalPort }}:{{ .Values.service.externalPort }} - -{{- else if contains "NodePort" .Values.service.type }} - - export NODE_PORT=$(kubectl get --namespace {{ .Release.Namespace }} -o jsonpath="{.spec.ports[0].nodePort}" services {{ template "keel.name" . }}) - export NODE_IP=$(kubectl get nodes --namespace {{ .Release.Namespace }} -o jsonpath="{.items[0].status.addresses[0].address}") - echo http://$NODE_IP:$NODE_PORT/ - -{{- end }} - -{{- end }} diff --git a/stable/keel/templates/_helpers.tpl b/stable/keel/templates/_helpers.tpl deleted file mode 100644 index 06f9476..0000000 --- a/stable/keel/templates/_helpers.tpl +++ /dev/null @@ -1,32 +0,0 @@ -{{/* vim: set filetype=mustache: */}} -{{/* -Expand the name of the chart. -*/}} -{{- define "keel.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). -If release name contains chart name it will be used as a full name. -*/}} -{{- define "keel.fullname" -}} -{{- if .Values.fullnameOverride -}} -{{- .Values.fullnameOverride | trunc 63 | trimSuffix "-" -}} -{{- else -}} -{{- $name := default .Chart.Name .Values.nameOverride -}} -{{- if contains $name .Release.Name -}} -{{- .Release.Name | trunc 63 | trimSuffix "-" -}} -{{- else -}} -{{- printf "%s-%s" .Release.Name $name | trunc 63 | trimSuffix "-" -}} -{{- end -}} -{{- end -}} -{{- end -}} - -{{/* -Create chart name and version as used by the chart label. -*/}} -{{- define "keel.chart" -}} -{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" -}} -{{- end -}} diff --git a/stable/keel/templates/clusterrole.yaml b/stable/keel/templates/clusterrole.yaml deleted file mode 100644 index f68529f..0000000 --- a/stable/keel/templates/clusterrole.yaml +++ /dev/null @@ -1,50 +0,0 @@ -{{- if .Values.rbac.enabled }} -apiVersion: rbac.authorization.k8s.io/v1 -kind: ClusterRole -metadata: - name: {{ template "keel.name" . }} -rules: - - apiGroups: - - "" - resources: - - namespaces - verbs: - - watch - - list - - apiGroups: - - "" - resources: - - secrets - verbs: - - get - - watch - - list - - apiGroups: - - "" - - extensions - - apps - - batch - resources: - - pods - - replicasets - - replicationcontrollers - - statefulsets - - deployments - - daemonsets - - jobs - - cronjobs - verbs: - - get - - delete # required to delete pods during force upgrade of the same tag - - watch - - list - - update - - apiGroups: - - "" - resources: - - configmaps - verbs: - - get - - create - - update -{{ end }} diff --git a/stable/keel/templates/clusterrolebinding.yaml b/stable/keel/templates/clusterrolebinding.yaml deleted file mode 100644 index e443cb1..0000000 --- a/stable/keel/templates/clusterrolebinding.yaml +++ /dev/null @@ -1,14 +0,0 @@ -{{- if .Values.rbac.enabled }} -apiVersion: rbac.authorization.k8s.io/v1 -kind: ClusterRoleBinding -metadata: - name: {{ template "keel.name" . }} -roleRef: - apiGroup: rbac.authorization.k8s.io - kind: ClusterRole - name: {{ template "keel.name" . }} -subjects: - - kind: ServiceAccount - name: {{ template "keel.name" . }} - namespace: {{ .Release.Namespace }} -{{ end }} diff --git a/stable/keel/templates/deployment.yaml b/stable/keel/templates/deployment.yaml deleted file mode 100644 index 4fac4ef..0000000 --- a/stable/keel/templates/deployment.yaml +++ /dev/null @@ -1,185 +0,0 @@ -apiVersion: apps/v1beta2 -kind: Deployment -metadata: - name: {{ template "keel.fullname" . }} - namespace: {{ .Release.Namespace }} - labels: - app: {{ template "keel.name" . }} - chart: {{ template "keel.chart" . }} - release: {{ .Release.Name }} - heritage: {{ .Release.Service }} -spec: - replicas: 1 - selector: - matchLabels: - app: {{ template "keel.name" . }} - release: {{ .Release.Name }} - template: - metadata: - labels: - app: {{ template "keel.name" . }} - release: {{ .Release.Name }} -{{- with .Values.podAnnotations }} - annotations: -{{ toYaml . | indent 8 }} -{{- end }} - spec: - serviceAccountName: {{ template "keel.name" . }} - containers: - - name: keel - # Note that we use appVersion to get images tag. - image: "{{ .Values.image.repository }}:{{ default .Chart.AppVersion .Values.image.tag }}" - imagePullPolicy: {{ .Values.image.pullPolicy }} - command: ["/bin/keel"] -{{- if .Values.googleApplicationCredentials }} - volumeMounts: - - name: google - mountPath: "/google" - readOnly: true -{{- end }} - env: - - name: NAMESPACE - valueFrom: - fieldRef: - fieldPath: metadata.namespace -{{- if .Values.googleApplicationCredentials }} - - name: GOOGLE_APPLICATION_CREDENTIALS - value: /google/google-application-credentials.json -{{- end }} -{{- if .Values.polling.enabled }} - # Enable polling - - name: POLL - value: "1" -{{- else }} - # Disable polling - - name: POLL - value: "0" -{{- end }} -{{- if .Values.helmProvider.enabled }} - # Enable/disable Helm provider - - name: HELM_PROVIDER - value: "1" - - name: TILLER_ADDRESS - value: "{{ .Values.helmProvider.tillerAddress }}" -{{- end }} -{{- if .Values.gcr.enabled }} - # Enable GCR with pub/sub support - - name: PROJECT_ID - value: "{{ .Values.gcr.projectId }}" - - name: PUBSUB - value: "1" -{{- end }} -{{- if .Values.ecr.enabled }} - # Enable AWS ECR - - name: AWS_ACCESS_KEY_ID - value: "{{ .Values.ecr.accessKeyId }}" - - name: AWS_SECRET_ACCESS_KEY - valueFrom: - secretKeyRef: - name: {{ template "keel.name" . }}-aws-ecr - key: secretAccessKey - - name: AWS_REGION - value: "{{ .Values.ecr.region }}" -{{- end }} -{{- if .Values.webhook.enabled }} - # Enable webhook endpoint - - name: WEBHOOK_ENDPOINT - value: "{{ .Values.webhook.endpoint }}" -{{- end }} -{{- if .Values.mattermost.enabled }} - # Enable mattermost endpoint - - name: MATTERMOST_ENDPOINT - value: "{{ .Values.mattermost.endpoint }}" -{{- end }} -{{- if .Values.slack.enabled }} - - name: SLACK_TOKEN - value: "{{ .Values.slack.token }}" - - name: SLACK_CHANNELS - value: "{{ .Values.slack.channel }}" - - name: SLACK_APPROVALS_CHANNEL - value: "{{ .Values.slack.approvalsChannel }}" - {{- if .Values.slack.botName }} - - name: SLACK_BOT_NAME - value: "{{ .Values.slack.botName }}" - {{- end }} -{{- end }} -{{- if .Values.hipchat.enabled }} - # Enable hipchat approvials and notification - - name: HIPCHAT_TOKEN - value: "{{ .Values.hipchat.token }}" - - name: HIPCHAT_CHANNELS - value: "{{ .Values.hipchat.channel }}" - - name: HIPCHAT_APPROVALS_CHANNEL - value: "{{ .Values.hipchat.approvalsChannel }}" - - name: HIPCHAT_APPROVALS_BOT_NAME - value: "{{ .Values.hipchat.botName }}" - - name: HIPCHAT_APPROVALS_USER_NAME - value: "{{ .Values.hipchat.userName }}" - - name: HIPCHAT_APPROVALS_PASSWORT - value: "{{ .Values.hipchat.password }}" -{{- end }} - - name: NOTIFICATION_LEVEL - value: "{{ .Values.notificationLevel }}" -{{- if .Values.debug }} - # Enable debug logging - - name: DEBUG - value: "1" -{{- end }} -{{- if .Values.insecureRegistry }} - # Enable insecure registries - - name: INSECURE_REGISTRY - value: "{{ .Values.insecureRegistry }}" - {{- end }} -{{- if .Values.aws.region }} - - name: AWS_REGION - value: "{{ .Values.aws.region }}" -{{- end }} - ports: - - containerPort: 9300 - livenessProbe: - httpGet: - path: /healthz - port: 9300 - initialDelaySeconds: 30 - timeoutSeconds: 10 - resources: -{{ toYaml .Values.resources | indent 12 }} -{{- if .Values.webhookRelay.enabled }} - - name: webhookrelayd - image: "{{ .Values.webhookRelay.image.repository }}:{{ .Values.webhookRelay.image.tag }}" - imagePullPolicy: {{ .Values.webhookRelay.image.pullPolicy }} - command: ["/relayd"] - env: - - name: KEY - valueFrom: - secretKeyRef: - name: {{ template "keel.name" . }}-webhookrelay - key: key - - name: SECRET - valueFrom: - secretKeyRef: - name: {{ template "keel.name" . }}-webhookrelay - key: secret - - name: BUCKET - value: "{{ .Values.webhookRelay.bucket }}" - resources: -{{ toYaml .Values.resources | indent 12 }} -{{- end }} - {{- with .Values.nodeSelector }} - nodeSelector: -{{ toYaml . | indent 8 }} - {{- end }} - {{- with .Values.affinity }} - affinity: -{{ toYaml . | indent 8 }} - {{- end }} - {{- with .Values.tolerations }} - tolerations: -{{ toYaml . | indent 8 }} - {{- end }} -{{- if .Values.googleApplicationCredentials }} - volumes: - - name: google - secret: - secretName: {{ template "keel.name" . }}-google -{{- end }} diff --git a/stable/keel/templates/pod-disruption-budget.yaml b/stable/keel/templates/pod-disruption-budget.yaml deleted file mode 100644 index 3c13a97..0000000 --- a/stable/keel/templates/pod-disruption-budget.yaml +++ /dev/null @@ -1,16 +0,0 @@ -{{- if .Values.podDisruptionBudget.enabled }} -apiVersion: policy/v1beta1 -kind: PodDisruptionBudget -metadata: - name: {{ template "keel.fullname" . }} - namespace: {{ .Release.Namespace }} -spec: -{{- if .Values.podDisruptionBudget.minAvailable }} - minAvailable: {{ .Values.podDisruptionBudget.minAvailable }} -{{- else }} - maxUnavailable: {{ .Values.podDisruptionBudget.maxUnavailable }} -{{- end }} - selector: - matchLabels: - app: {{ template "keel.name" . }} -{{- end }} diff --git a/stable/keel/templates/secrets-aws-ecr.yaml b/stable/keel/templates/secrets-aws-ecr.yaml deleted file mode 100644 index e1a5f98..0000000 --- a/stable/keel/templates/secrets-aws-ecr.yaml +++ /dev/null @@ -1,15 +0,0 @@ -{{- if (and .Values.ecr.enabled .Values.ecr.secretAccessKey) }} -apiVersion: v1 -kind: Secret -metadata: - name: {{ template "keel.name" . }}-aws-ecr - namespace: {{ .Release.Namespace }} - labels: - app: {{ template "keel.name" . }} - chart: {{ template "keel.chart" . }} - release: {{ .Release.Name }} - heritage: {{ .Release.Service }} -type: Opaque -data: - secretAccessKey: {{ .Values.ecr.secretAccessKey | b64enc }} -{{- end }} diff --git a/stable/keel/templates/secrets-google.yaml b/stable/keel/templates/secrets-google.yaml deleted file mode 100644 index 9f14bc3..0000000 --- a/stable/keel/templates/secrets-google.yaml +++ /dev/null @@ -1,15 +0,0 @@ -{{- if .Values.googleApplicationCredentials }} -apiVersion: v1 -kind: Secret -metadata: - name: {{ template "keel.name" . }}-google - namespace: {{ .Release.Namespace }} - labels: - app: {{ template "keel.name" . }} - chart: {{ template "keel.chart" . }} - release: {{ .Release.Name }} - heritage: {{ .Release.Service }} -type: Opaque -data: - google-application-credentials.json: {{ .Values.googleApplicationCredentials | quote }} -{{- end }} diff --git a/stable/keel/templates/secrets-webhookrelay.yaml b/stable/keel/templates/secrets-webhookrelay.yaml deleted file mode 100644 index 4061d95..0000000 --- a/stable/keel/templates/secrets-webhookrelay.yaml +++ /dev/null @@ -1,16 +0,0 @@ -{{- if (and .Values.webhookRelay.enabled .Values.webhookRelay.key .Values.webhookRelay.secret) }} -apiVersion: v1 -kind: Secret -metadata: - name: {{ template "keel.name" . }}-webhookrelay - namespace: {{ .Release.Namespace }} - labels: - app: {{ template "keel.name" . }} - chart: {{ template "keel.chart" . }} - release: {{ .Release.Name }} - heritage: {{ .Release.Service }} -type: Opaque -data: - key: {{ .Values.webhookRelay.key | b64enc }} - secret: {{ .Values.webhookRelay.secret | b64enc }} -{{- end }} diff --git a/stable/keel/templates/service-account.yaml b/stable/keel/templates/service-account.yaml deleted file mode 100644 index 9d62dfb..0000000 --- a/stable/keel/templates/service-account.yaml +++ /dev/null @@ -1,10 +0,0 @@ -apiVersion: v1 -kind: ServiceAccount -metadata: - name: {{ template "keel.name" . }} - namespace: {{ .Release.Namespace }} - labels: - app: {{ template "keel.name" . }} - chart: {{ template "keel.chart" . }} - release: {{ .Release.Name }} - heritage: {{ .Release.Service }} diff --git a/stable/keel/templates/service.yaml b/stable/keel/templates/service.yaml deleted file mode 100644 index e905682..0000000 --- a/stable/keel/templates/service.yaml +++ /dev/null @@ -1,27 +0,0 @@ -{{- if .Values.service.enabled }} -apiVersion: v1 -kind: Service -metadata: - name: {{ template "keel.name" . }} - namespace: {{ .Release.Namespace }} - labels: - app: {{ template "keel.name" . }} - chart: {{ template "keel.chart" . }} - release: {{ .Release.Name }} - heritage: {{ .Release.Service }} -spec: - type: {{ .Values.service.type }} - {{- if .Values.service.clusterIP }} - clusterIP: {{ .Values.service.clusterIP | quote }} - {{- end }} - ports: - - port: {{ .Values.service.externalPort }} - {{- if or (ne .Values.service.type "ClusterIP") (ne .Values.service.clusterIP "None") }} - targetPort: 9300 - {{- end }} - protocol: TCP - name: keel - selector: - app: {{ template "keel.name" . }} - sessionAffinity: None -{{- end }} diff --git a/stable/keel/values.yaml b/stable/keel/values.yaml deleted file mode 100644 index e00e7a3..0000000 --- a/stable/keel/values.yaml +++ /dev/null @@ -1,152 +0,0 @@ -# Default values for keel. -# This is a YAML-formatted file. -# Declare variables to be passed into your templates. - -image: - repository: keelhq/keel - tag: 0.12.0 - pullPolicy: IfNotPresent - -# Enable insecure registries -insecureRegistry: false - -# Polling is enabled by default, -# you can disable it setting value below to false -polling: - enabled: true - -# Helm provider support -helmProvider: - enabled: true - tillerAddress: "tiller-deploy.kube-system.svc.cluster.local:44134" - -# Google Container Registry -# GCP Project ID -gcr: - enabled: false - projectId: "" - pubSub: - enabled: false - -# Notification level (debug, info, success, warn, error, fatal) -notificationLevel: info - -# AWS Elastic Container Registry -# https://keel.sh/v1/guide/documentation.html#Polling-with-AWS-ECR -ecr: - enabled: false - accessKeyId: "" - secretAccessKey: "" - region: "" - -# Webhook Notification -# Remote webhook endpoint for notification delivery -webhook: - enabled: false - endpoint: "" - -# Slack Notification -# bot name (default keel) must exist! -slack: - enabled: false - botName: "" - token: "" - channel: "" - approvalsChannel: "" - -# Hipchat notification and approvals -hipchat: - enabled: false - token: "" - channel: "" - approvalsChannel: "" - botName: "" - userName: "" - password: "" - -mattermost: - enabled: false - endpoint: "" - -# Keel service -# Enable to receive webhooks from Docker registries -service: - enabled: false - type: LoadBalancer - externalPort: 9300 - clusterIP: "" - -# Webhook Relay service -# If you don’t want to expose your Keel service, you can use https://webhookrelay.com/ -# which can deliver webhooks to your internal Keel service through Keel sidecar container. -webhookRelay: - enabled: false - bucket: "" - # webhookrelay.com credentials - # Set the key and secret values here to create the keel-webhookrelay secret with this - # chart -or- leave key and secret blank and create the keel-webhookrelay secret separately. - key: "" - secret: "" - # webhookrelay docker image - image: - repository: webhookrelay/webhookrelayd - tag: latest - pullPolicy: IfNotPresent - -# Keel self-update -# uncomment lines below if you want Keel to automaticly -# self-update to the latest release version -keel: - # keel policy (all/major/minor/patch/force) - policy: all - # trigger type, defaults to events such as pubsub, webhooks - trigger: poll - # polling schedule - pollSchedule: "@every 3m" - # images to track and update - images: - - repository: image.repository - tag: image.tag - -# RBAC manifests management -rbac: - enabled: true - -# Resources -resources: - limits: - cpu: 100m - memory: 128Mi - requests: - cpu: 50m - memory: 64Mi - -# NodeSelector -nodeSelector: {} - -affinity: {} - -tolerations: {} - -# base64 encoded json of GCP service account -# more info available here: https://cloud.google.com/kubernetes-engine/docs/tutorials/authenticating-to-cloud-platform -# e.g. --set googleApplicationCredentials=$(cat | base64) -googleApplicationCredentials: "" - -# Enable DEBUG logging -debug: false - -# This is used by the static manifest generator in order to create a static -# namespace manifest for the namespace that keel is being installed -# within. It should **not** be used if you are using Helm for deployment. -createNamespaceResource: false - -podAnnotations: {} - -aws: - region: null - -podDisruptionBudget: - enabled: false - maxUnavailable: 1 - minAvailable: null