Skip to content

Commit

Permalink
Prepare 0.1.3 release (#50)
Browse files Browse the repository at this point in the history
* ♻️ move curl to dev deps stage

* 📝 todo for spec.timezone

* chart version bump

* 📝 changelog
  • Loading branch information
mshade authored Feb 8, 2024
1 parent 2011b9a commit 629a35c
Show file tree
Hide file tree
Showing 5 changed files with 48 additions and 6 deletions.
40 changes: 40 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 2 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions chart/kronic/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 3 additions & 1 deletion chart/kronic/README.md.gotmpl
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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.
Expand All @@ -41,6 +42,7 @@ kubectl --namespace <namespace> create secret generic custom-password --from-lit
helm --namespace <namespace> upgrade kronic kronic/kronic --set auth.existingSecretName=custom-password
```


## Installation

A helm chart is available at [./chart/kronic](./chart/kronic/).
Expand Down

0 comments on commit 629a35c

Please sign in to comment.