diff --git a/CHANGELOG.md b/CHANGELOG.md index 3bab8e0..61a92cf 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,46 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [0.1.3] - 2024-02-07 + +### Added + +* Update dependency kubernetes to v28 by @renovate in https://github.com/mshade/kronic/pull/19 +* Update dependency black to v23.10.1 by @renovate in https://github.com/mshade/kronic/pull/30 +* Update python Docker tag to v3.12 by @renovate in https://github.com/mshade/kronic/pull/27 +* Update dependency Werkzeug to v3 by @renovate in https://github.com/mshade/kronic/pull/23 +* Update dependency Flask to v3 by @renovate in https://github.com/mshade/kronic/pull/22 +* Update dependency pytest to v7.4.3 by @renovate in https://github.com/mshade/kronic/pull/32 +* Update dependency cachetools to v5.3.2 by @renovate in https://github.com/mshade/kronic/pull/31 +* Update dependency websocket-client to v1.6.4 by @renovate in https://github.com/mshade/kronic/pull/29 +* Update dependency blinker to v1.6.3 by @renovate in https://github.com/mshade/kronic/pull/28 +* Update dependency packaging to v23.2 by @renovate in https://github.com/mshade/kronic/pull/24 +* Update dependency charset-normalizer to v3.3.1 by @renovate in https://github.com/mshade/kronic/pull/21 +* Update dependency google-auth to v2.23.3 by @renovate in https://github.com/mshade/kronic/pull/20 +* Update dependency urllib3 to v1.26.18 [SECURITY] by @renovate in https://github.com/mshade/kronic/pull/26 +* Update dependency charset-normalizer to v3.3.2 by @renovate in https://github.com/mshade/kronic/pull/36 +* Update dependency Jinja2 to v3.1.3 by @renovate in https://github.com/mshade/kronic/pull/45 +* Update dependency Flask to v3.0.2 by @renovate in https://github.com/mshade/kronic/pull/44 +* Update dependency certifi to v2023.11.17 by @renovate in https://github.com/mshade/kronic/pull/40 +* Update dependency pytest to v7.4.4 by @renovate in https://github.com/mshade/kronic/pull/47 +* Update dependency MarkupSafe to v2.1.5 by @renovate in https://github.com/mshade/kronic/pull/46 +* Update dependency google-auth to v2.27.0 by @renovate in https://github.com/mshade/kronic/pull/34 +* Update dependency black to v23.12.1 by @renovate in https://github.com/mshade/kronic/pull/39 +* Update dependency idna to v3.6 by @renovate in https://github.com/mshade/kronic/pull/42 +* Update dependency pyasn1 to v0.5.1 by @renovate in https://github.com/mshade/kronic/pull/41 +* Update helm/chart-releaser-action action to v1.6.0 by @renovate in https://github.com/mshade/kronic/pull/38 +* Update dependency blinker to v1.7.0 by @renovate in https://github.com/mshade/kronic/pull/37 +* Update dependency boltons to v23.1.1 by @renovate in https://github.com/mshade/kronic/pull/35 +* Update actions/setup-python action to v5 by @renovate in https://github.com/mshade/kronic/pull/49 +* Update dependency websocket-client to v1.7.0 by @renovate in https://github.com/mshade/kronic/pull/48 +* Update dependency certifi to v2024 by @renovate in https://github.com/mshade/kronic/pull/52 +* Update dependency black to v24 by @renovate in https://github.com/mshade/kronic/pull/51 +* Update dependency kubernetes to v29 by @renovate in https://github.com/mshade/kronic/pull/53 +* Update dependency pytest to v8 by @renovate in https://github.com/mshade/kronic/pull/54 + +**Full Changelog**: https://github.com/mshade/kronic/compare/v0.1.2...v0.1.3 + + ## [0.1.2] - 2023-09-13 ### Added diff --git a/Dockerfile b/Dockerfile index 9f87c85..852c2e9 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,8 +1,6 @@ FROM python:3.12-alpine as deps ENV PYTHONUNBUFFERED=1 -RUN apk add --no-cache curl - COPY requirements.txt /app/ WORKDIR /app @@ -12,9 +10,10 @@ RUN pip install -r requirements.txt FROM deps as dev COPY requirements-dev.txt /app/ RUN pip install -r requirements-dev.txt -RUN apk add --no-cache git openssh-client-default +RUN apk add --no-cache git openssh-client-default curl CMD flask run --debug -h 0.0.0.0 +# Release image without dev deps FROM deps as final COPY . /app/ RUN addgroup -S kronic && adduser -S kronic -G kronic -u 3000 diff --git a/README.md b/README.md index c35a5cf..d287bdf 100644 --- a/README.md +++ b/README.md @@ -126,6 +126,7 @@ Kronic is a small Flask app built with: - [x] Allow/Deny lists for namespaces - [x] Support a namespaced install (no cluster-wide view) - [x] Built-in auth option +- [ ] Display elements and handling for `spec.timezone` - [ ] NetworkPolicy in helm chart - [ ] Timeline / Cron schedule interpreter or display - [ ] YAML/Spec Validation on Edit page diff --git a/chart/kronic/Chart.yaml b/chart/kronic/Chart.yaml index 67a95d2..4459c4e 100644 --- a/chart/kronic/Chart.yaml +++ b/chart/kronic/Chart.yaml @@ -2,8 +2,8 @@ apiVersion: v2 name: kronic description: Kronic - The simple Kubernetes CronJob Admin UI type: application -version: 0.1.5 -appVersion: "v0.1.2" +version: 0.1.6 +appVersion: "v0.1.3" home: https://github.com/mshade/kronic maintainers: - name: mshade diff --git a/chart/kronic/README.md.gotmpl b/chart/kronic/README.md.gotmpl index fb6bef6..426f8c7 100644 --- a/chart/kronic/README.md.gotmpl +++ b/chart/kronic/README.md.gotmpl @@ -6,7 +6,7 @@ {{ template "chart.versionBadge" . }}{{ template "chart.typeBadge" . }}{{ template "chart.appVersionBadge" . }} Kronic is in early alpha. It may eat your cronjobs, pods, or even your job. -Avoid exposing Kronic to untrusted parties or networks. +Avoid exposing Kronic to untrusted parties or networks or using Kronic near anything even vaguely important. By default the Kronic helm chart will provide only a `ClusterIP` service. See the [values.yaml](./chart/kronic/values.yaml) for settings, most notably the `ingress` section. @@ -23,6 +23,7 @@ and Pods in its own namespace. Enabling this setting in the helm chart values (`env.KRONIC_NAMESPACE_ONLY="true"`) will prevent the creation of ClusterRole and ClusterRolebinding, using only a namespaced Role and RoleBinding. + ### Authentication Kronic supports HTTP Basic authentication to the backend. It is enabled by default when installed via the helm chart. If no password is specified, the default username is `kronic` and the password is generated randomly. @@ -41,6 +42,7 @@ kubectl --namespace create secret generic custom-password --from-lit helm --namespace upgrade kronic kronic/kronic --set auth.existingSecretName=custom-password ``` + ## Installation A helm chart is available at [./chart/kronic](./chart/kronic/).