From ae4c33764b7eac41dc96649e60eeb94eba6519c2 Mon Sep 17 00:00:00 2001 From: Jerrico Gamis Date: Wed, 20 Dec 2023 13:48:50 +1100 Subject: [PATCH] Update README.md, charts --- README.md | 12 +++--------- deployment/k8s/helm/chart/Chart.yaml | 2 +- deployment/k8s/helm/chart/values.yaml | 2 +- 3 files changed, 5 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index 4820300..3bef927 100644 --- a/README.md +++ b/README.md @@ -2,14 +2,13 @@ [![Build](https://github.com/jecklgamis/flask-app-example/actions/workflows/build.yml/badge.svg)](https://github.com/jecklgamis/flask-app-example/actions/workflows/build.yml) -An example Flask app using Python 3 and Docker. This is a fairly complete template if you want to bootstrap a REST -API server quickly. +An example Flask app using Python 3 and Docker. Docker : `docker run -p 8080:8080 -it jecklgamis/flask-app-example:main` +What's in the box? -What's in the box? -* Alpine Linux based Docker image +* Ubuntu Linux based Docker image * SSL/TLS listener * Modular route handlers using [Flask Blueprints](https://flask.palletsprojects.com/en/1.1.x/blueprints/) * [Gunicorn](https://gunicorn.org) WSGI server @@ -53,11 +52,6 @@ make run-app-dev-mode-ssl make smoke-tests ``` -## Customizing This Template -* Change all references of `flask-app-example` to suit your project name -* Provide your own server certificates (`server.key` and `server.crt`) -* Add more tests in `smoke-test.py` - ## Contributing Please raise issue or pull request. Thanks for contributing! diff --git a/deployment/k8s/helm/chart/Chart.yaml b/deployment/k8s/helm/chart/Chart.yaml index 5ae6a72..85a17ae 100644 --- a/deployment/k8s/helm/chart/Chart.yaml +++ b/deployment/k8s/helm/chart/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v2 name: flask-app-example -description: An example Spring Boot app using Kotlin +description: A Flask example # A chart can be either an 'application' or a 'library' chart. # diff --git a/deployment/k8s/helm/chart/values.yaml b/deployment/k8s/helm/chart/values.yaml index 5d0f777..1ccdb81 100644 --- a/deployment/k8s/helm/chart/values.yaml +++ b/deployment/k8s/helm/chart/values.yaml @@ -6,7 +6,7 @@ replicaCount: 1 image: repository: jecklgamis/flask-app-example - pullPolicy: IfNotPresent + pullPolicy: Always # Overrides the image tag whose default is the chart appVersion. tag: "main"