From bcd8e65416dd06085707215a328f53fb581510a2 Mon Sep 17 00:00:00 2001 From: Stefan Prodan Date: Mon, 22 Mar 2021 11:40:18 +0200 Subject: [PATCH] Release v5.2.0 Signed-off-by: Stefan Prodan --- README.md | 2 + charts/podinfo/Chart.yaml | 4 +- charts/podinfo/README.md | 8 +- charts/podinfo/values-prod.yaml | 6 +- charts/podinfo/values-secure.yaml | 127 ------------------------- charts/podinfo/values.yaml | 4 +- deploy/bases/backend/deployment.yaml | 2 +- deploy/bases/frontend/deployment.yaml | 2 +- deploy/webapp/backend/deployment.yaml | 2 +- deploy/webapp/frontend/deployment.yaml | 2 +- kustomize/deployment.yaml | 2 +- pkg/version/version.go | 2 +- 12 files changed, 21 insertions(+), 142 deletions(-) delete mode 100644 charts/podinfo/values-secure.yaml diff --git a/README.md b/README.md index d1f2d18..16b6efb 100644 --- a/README.md +++ b/README.md @@ -7,6 +7,8 @@ [![Docker Pulls](https://img.shields.io/docker/pulls/stefanprodan/podinfo)](https://hub.docker.com/r/stefanprodan/podinfo) Podinfo is a tiny web application made with Go that showcases best practices of running microservices in Kubernetes. +Podinfo is used by CNCF projects like [Flux](https://github.com/fluxcd/flux2) and [Flagger](https://github.com/fluxcd/flagger) +for end-to-end testing and workshops. Specifications: diff --git a/charts/podinfo/Chart.yaml b/charts/podinfo/Chart.yaml index 618473f..7fc7da8 100644 --- a/charts/podinfo/Chart.yaml +++ b/charts/podinfo/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v1 -version: 5.1.4 -appVersion: 5.1.4 +version: 5.2.0 +appVersion: 5.2.0 name: podinfo engine: gotpl description: Podinfo Helm chart for Kubernetes diff --git a/charts/podinfo/README.md b/charts/podinfo/README.md index 670840c..876ea2e 100644 --- a/charts/podinfo/README.md +++ b/charts/podinfo/README.md @@ -3,6 +3,10 @@ Podinfo is a tiny web application made with Go that showcases best practices of running microservices in Kubernetes. +Podinfo is used by CNCF projects like [Flux](https://github.com/fluxcd/flux2) +and [Flagger](https://github.com/fluxcd/flagger) +for end-to-end testing and workshops. + ## Installing the Chart To install the chart with the release name `my-release`: @@ -33,7 +37,7 @@ The following tables lists the configurable parameters of the podinfo chart and Parameter | Default | Description --- | --- | --- `replicaCount` | `1` | Desired number of pods -`logLevel` | `info` | Log level: `debug`, `info`, `warn`, `error`, `flat` or `panic` +`logLevel` | `info` | Log level: `debug`, `info`, `warn`, `error` `backend` | `None` | Echo backend URL `backends` | `[]` | Array of echo backend URLs `cache` | `None` | Redis address in the format `:` @@ -47,7 +51,6 @@ Parameter | Default | Description `faults.unready` | `false` | When set, the ready state is never reached `faults.testFail` | `false` | When set, a helm test is included which always fails `faults.testTimeout` | `false` | When set, a helm test is included which always times out -`h2c.enabled` | `false` | Allow upgrading to h2c `image.repository` | `stefanprodan/podinfo` | Image repository `image.tag` | `` | Image tag `image.pullPolicy` | `IfNotPresent` | Image pull policy @@ -59,6 +62,7 @@ Parameter | Default | Description `service.grpcPort` | `9999` | ClusterIP gPRC port `service.grpcService` | `podinfo` | gPRC service name `service.nodePort` | `31198` | NodePort for the HTTP endpoint +`h2c.enabled` | `false` | Allow upgrading to h2c (non-TLS version of HTTP/2) `hpa.enabled` | `false` | Enables the Kubernetes HPA `hpa.maxReplicas` | `10` | Maximum amount of pods `hpa.cpu` | `None` | Target CPU usage per pod diff --git a/charts/podinfo/values-prod.yaml b/charts/podinfo/values-prod.yaml index 7779f7b..c184704 100644 --- a/charts/podinfo/values-prod.yaml +++ b/charts/podinfo/values-prod.yaml @@ -8,7 +8,7 @@ backends: [] image: repository: ghcr.io/stefanprodan/podinfo - tag: 5.1.4 + tag: 5.2.0 pullPolicy: IfNotPresent ui: @@ -99,10 +99,10 @@ ingress: enabled: false annotations: {} # kubernetes.io/ingress.class: nginx - # kubernetes.io/tls-acme: "true" + # kubernetes.io/tls-acme: "true" path: /* hosts: [] - # - podinfo.local + # - podinfo.local tls: [] # - secretName: chart-example-tls # hosts: diff --git a/charts/podinfo/values-secure.yaml b/charts/podinfo/values-secure.yaml deleted file mode 100644 index cdc5f52..0000000 --- a/charts/podinfo/values-secure.yaml +++ /dev/null @@ -1,127 +0,0 @@ -# Default values for podinfo. - -replicaCount: 1 -logLevel: info -backend: #http://backend-podinfo:9898/echo -backends: [] - -ui: - color: "#34577c" - message: "" - logo: "" - -faults: - delay: false - error: false - unhealthy: false - unready: false - testFail: false - testTimeout: false - -h2c: - enabled: false - -image: - repository: ghcr.io/stefanprodan/podinfo - tag: 5.0.3 - pullPolicy: IfNotPresent - -service: - enabled: true - type: ClusterIP - metricsPort: 9797 - httpPort: 9898 - externalPort: 9898 - grpcPort: 9999 - grpcService: podinfo - nodePort: 31198 - # the port used to bind the http port to the host - # NOTE: requires privileged container with NET_BIND_SERVICE capability -- this is useful for testing - # in local clusters such as kind without port forwarding - hostPort: - -# enable tls on the podinfo service -tls: - enabled: true - # the name of the secret used to mount the certificate key pair - secretName: - # the path where the certificate key pair will be mounted - certPath: /data/cert - # the port used to host the tls endpoint on the service - port: 9899 - # the port used to bind the tls port to the host - # NOTE: requires privileged container with NET_BIND_SERVICE capability -- this is useful for testing - # in local clusters such as kind without port forwarding - hostPort: - -# create a certificate manager certificate -certificate: - create: true - # the issuer used to issue the certificate - issuerRef: - kind: ClusterIssuer - name: self-signed - # the hostname / subject alternative names for the certificate - dnsNames: - - podinfo - -# metrics-server add-on required -hpa: - enabled: false - maxReplicas: 10 - # average total CPU usage per pod (1-100) - cpu: - # average memory usage per pod (100Mi-1Gi) - memory: - # average http requests per second per pod (k8s-prometheus-adapter) - requests: - -# Redis address in the format : -cache: "" -# Redis deployment -redis: - enabled: false - repository: redis - tag: 6.0.8 - -serviceAccount: - # Specifies whether a service account should be created - enabled: false - # The name of the service account to use. - # If not set and create is true, a name is generated using the fullname template - name: - -linkerd: - profile: - enabled: false - -serviceMonitor: - enabled: false - interval: 15s - -ingress: - enabled: false - annotations: {} - # kubernetes.io/ingress.class: nginx - # kubernetes.io/tls-acme: "true" - path: /* - hosts: [] -# - podinfo.local - tls: [] - # - secretName: chart-example-tls - # hosts: - # - chart-example.local - -resources: - limits: - requests: - cpu: 1m - memory: 16Mi - -nodeSelector: {} - -tolerations: [] - -affinity: {} - -podAnnotations: {} diff --git a/charts/podinfo/values.yaml b/charts/podinfo/values.yaml index 4af5583..706ff0a 100644 --- a/charts/podinfo/values.yaml +++ b/charts/podinfo/values.yaml @@ -7,7 +7,7 @@ backends: [] image: repository: ghcr.io/stefanprodan/podinfo - tag: 5.1.4 + tag: 5.2.0 pullPolicy: IfNotPresent ui: @@ -105,7 +105,7 @@ ingress: # kubernetes.io/tls-acme: "true" path: /* hosts: [] -# - podinfo.local + # - podinfo.local tls: [] # - secretName: chart-example-tls # hosts: diff --git a/deploy/bases/backend/deployment.yaml b/deploy/bases/backend/deployment.yaml index 97ed500..070e030 100644 --- a/deploy/bases/backend/deployment.yaml +++ b/deploy/bases/backend/deployment.yaml @@ -23,7 +23,7 @@ spec: spec: containers: - name: backend - image: ghcr.io/stefanprodan/podinfo:5.1.4 + image: ghcr.io/stefanprodan/podinfo:5.2.0 imagePullPolicy: IfNotPresent ports: - name: http diff --git a/deploy/bases/frontend/deployment.yaml b/deploy/bases/frontend/deployment.yaml index 33b5f7c..80f90ac 100644 --- a/deploy/bases/frontend/deployment.yaml +++ b/deploy/bases/frontend/deployment.yaml @@ -23,7 +23,7 @@ spec: spec: containers: - name: frontend - image: ghcr.io/stefanprodan/podinfo:5.1.4 + image: ghcr.io/stefanprodan/podinfo:5.2.0 imagePullPolicy: IfNotPresent ports: - name: http diff --git a/deploy/webapp/backend/deployment.yaml b/deploy/webapp/backend/deployment.yaml index aa3aad1..fdb9170 100644 --- a/deploy/webapp/backend/deployment.yaml +++ b/deploy/webapp/backend/deployment.yaml @@ -25,7 +25,7 @@ spec: serviceAccountName: webapp containers: - name: backend - image: ghcr.io/stefanprodan/podinfo:5.1.4 + image: ghcr.io/stefanprodan/podinfo:5.2.0 imagePullPolicy: IfNotPresent ports: - name: http diff --git a/deploy/webapp/frontend/deployment.yaml b/deploy/webapp/frontend/deployment.yaml index a745194..40540c1 100644 --- a/deploy/webapp/frontend/deployment.yaml +++ b/deploy/webapp/frontend/deployment.yaml @@ -25,7 +25,7 @@ spec: serviceAccountName: webapp containers: - name: frontend - image: ghcr.io/stefanprodan/podinfo:5.1.4 + image: ghcr.io/stefanprodan/podinfo:5.2.0 imagePullPolicy: IfNotPresent ports: - name: http diff --git a/kustomize/deployment.yaml b/kustomize/deployment.yaml index 4359dd1..c5517e7 100644 --- a/kustomize/deployment.yaml +++ b/kustomize/deployment.yaml @@ -23,7 +23,7 @@ spec: spec: containers: - name: podinfod - image: ghcr.io/stefanprodan/podinfo:5.1.4 + image: ghcr.io/stefanprodan/podinfo:5.2.0 imagePullPolicy: IfNotPresent ports: - name: http diff --git a/pkg/version/version.go b/pkg/version/version.go index 53949b5..39663dd 100644 --- a/pkg/version/version.go +++ b/pkg/version/version.go @@ -1,4 +1,4 @@ package version -var VERSION = "5.1.4" +var VERSION = "5.2.0" var REVISION = "unknown"