Skip to content
This repository has been archived by the owner on Apr 25, 2024. It is now read-only.

Releases: loft-sh/kiosk

v0.2.4-beta.1

23 Apr 16:19
a1afb45
Compare
Choose a tag to compare
v0.2.4-beta.1 Pre-release
Pre-release

Changes

  • New environment variable APISERVICE_PORT and chart option apiservice.port to specify a different api service port
  • Leader election now uses the current namespace as kube-system sometimes is denied (for example in GKE auto-pilot)

v0.2.4-beta.0

23 Apr 15:12
2551d1f
Compare
Choose a tag to compare
v0.2.4-beta.0 Pre-release
Pre-release
Merge pull request #118 from FabianKramm/master

feat: make apiservice port dynamic & leaderelection

v0.2.3

19 Apr 07:32
2aa4067
Compare
Choose a tag to compare

Changes

  • Adds support for template parameters in the form of:
apiVersion: config.kiosk.sh/v1alpha1
kind: Template
metadata:
  name: space-restrictions
resources:
  manifests:
    - apiVersion: v1
      kind: LimitRange
      metadata:
        name: space-limit-range
      spec:
        limits:
          - default:
              cpu: "${{namespace.metadata.annotations.default-cpu}}"
            defaultRequest:
              cpu: "${{namespace.metadata.labels.default-request}}"
            type: "${account.metadata.annotations.limits-type}"
  • kiosk now uses apiextensions/v1 instead of apiextensions/v1beta1 for CRDs
  • Upgrade controller-runtime to v0.8.3
  • kiosk runs now with leader election enabled
  • Save webhook and apiservice certs in secrets

v0.2.2

09 Apr 13:02
1d3bd1f
Compare
Choose a tag to compare

Changes

  • Added support for arm64 (#80)

v0.2.2-beta.1

09 Apr 12:34
1d3bd1f
Compare
Choose a tag to compare
v0.2.2-beta.1 Pre-release
Pre-release
Merge pull request #114 from FabianKramm/master

build: build docker image for arm as well

v0.2.2-beta.0

09 Apr 12:09
beaccd4
Compare
Choose a tag to compare
v0.2.2-beta.0 Pre-release
Pre-release
Merge pull request #113 from FabianKramm/master

build: build docker image for arm as well

v0.2.1-kubernetes.115

30 Mar 07:46
3b985c3
Compare
Choose a tag to compare
v0.2.1-kubernetes.115 Pre-release
Pre-release

Downgraded release to support kubernetes version 1.15

v0.2.1

29 Mar 12:05
6fd4311
Compare
Choose a tag to compare

Changes

  • Correct the port names in the kiosk chart which could lead to issues when using kiosk with istio

v0.2.0-kubernetes.115

24 Mar 11:39
19c0ac3
Compare
Choose a tag to compare
v0.2.0-kubernetes.115 Pre-release
Pre-release

Downgraded release to support kubernetes version 1.15

v0.2.0

21 Mar 12:04
6dd333e
Compare
Choose a tag to compare

New template parameters that can be used in resources.manifests or resources.helm.values to define placeholders that can be used later in a template instance. These placeholders can be either used within a string (e.g. myvalue: 'Hello from ${NAMESPACE}') or can be rendered directly as a json value (e.g. for numbers in replicas: '${{REPLICAS}}'. Furthermore there are 2 predefined parameters ${NAMESPACE} (holds the namespace that the template instance was deployed in) and ${ACCOUNT} (holds the name of the account that owns the namespace that the the template instance was deployed in). (#68)

For example:

apiVersion: config.kiosk.sh/v1alpha1
kind: Template
metadata:
  name: space-restrictions
# This section defines parameters that can be used for this template
# Can be used in resources.manifests and resources.helm.values
parameters:
    # Name of the parameter
  - name: DEFAULT_CPU_LIMIT
    # The default value of the parameter
    value: "1"
  - name: DEFAULT_CPU_REQUESTS
    value: "0.5"
    # If a parameter is required the template instance will need to set it
    required: true
    # Make sure only values are entered for this parameter
    validation: "^[0-9]*\\.?[0-9]+$" 
resources:
  manifests:
  - apiVersion: v1
    kind: LimitRange
    metadata:
      name: space-limit-range
      annotations:
        # Parameters can also be used inside a string
        example-parameter: "Hello from ${NAMESPACE}" 
    spec:
      limits:
      - default:
          # Use the DEFAULT_CPU_LIMIT parameter here and
          # parse it as json, which renders the "1" as 1. 
          cpu: "${{DEFAULT_CPU_LIMIT}}"
        defaultRequest:
          cpu: "${{DEFAULT_CPU_REQUESTS}}"
        type: Container

In the template instance the parameters are then used as:

apiVersion: config.kiosk.sh/v1alpha1
kind: TemplateInstance
metadata:
  name: space-restrictions-instance-sync
spec:
  template: space-restrictions
  parameters:
  - name: DEFAULT_CPU_REQUESTS
    value: "1"