Skip to content

Commit 1c0f8eb

Browse files
committed
Revert kamaji edge-24.12.1
Signed-off-by: Andrei Kvapil <[email protected]>
1 parent ef2e065 commit 1c0f8eb

File tree

7 files changed

+21
-77
lines changed

7 files changed

+21
-77
lines changed
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
dependencies:
22
- name: kamaji-etcd
33
repository: https://clastix.github.io/charts
4-
version: 0.8.1
5-
digest: sha256:381d8ef9619c2daeea37e40c6a9772ae3e5cee80887148879db04e887d5364ad
6-
generated: "2024-10-25T19:28:40.880766186+02:00"
4+
version: 0.8.0
5+
digest: sha256:525b0eb2b5bae709d62de9328312d42c54b5219c6df67061de0da79eeca04fb3
6+
generated: "2024-08-25T08:44:24.92211307+02:00"

packages/system/kamaji/charts/kamaji/Chart.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
apiVersion: v2
2-
appVersion: v0.0.0
2+
appVersion: v1.0.0
33
description: Kamaji is the Hosted Control Plane Manager for Kubernetes.
44
home: https://github.com/clastix/kamaji
55
icon: https://github.com/clastix/kamaji/raw/master/assets/logo-colored.png
@@ -17,11 +17,11 @@ name: kamaji
1717
sources:
1818
- https://github.com/clastix/kamaji
1919
type: application
20-
version: 0.0.0
20+
version: 2.0.0
2121
dependencies:
2222
- name: kamaji-etcd
2323
repository: https://clastix.github.io/charts
24-
version: ">=0.8.1"
24+
version: ">=0.7.0"
2525
condition: kamaji-etcd.deploy
2626
annotations:
2727
catalog.cattle.io/certified: partner

packages/system/kamaji/charts/kamaji/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# kamaji
22

3-
![Version: 0.0.0](https://img.shields.io/badge/Version-0.0.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: v0.0.0](https://img.shields.io/badge/AppVersion-v0.0.0-informational?style=flat-square)
3+
![Version: 2.0.0](https://img.shields.io/badge/Version-2.0.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: v1.0.0](https://img.shields.io/badge/AppVersion-v1.0.0-informational?style=flat-square)
44

55
Kamaji is the Hosted Control Plane Manager for Kubernetes.
66

@@ -22,7 +22,7 @@ Kubernetes: `>=1.21.0-0`
2222

2323
| Repository | Name | Version |
2424
|------------|------|---------|
25-
| https://clastix.github.io/charts | kamaji-etcd | >=0.8.1 |
25+
| https://clastix.github.io/charts | kamaji-etcd | >=0.7.0 |
2626

2727
[Kamaji](https://github.com/clastix/kamaji) requires a [multi-tenant `etcd`](https://github.com/clastix/kamaji-internal/blob/master/deploy/getting-started-with-kamaji.md#setup-internal-multi-tenant-etcd) cluster.
2828
This Helm Chart starting from v0.1.1 provides the installation of an internal `etcd` in order to streamline the local test. If you'd like to use an externally managed etcd instance, you can specify the overrides and by setting the value `etcd.deploy=false`.
@@ -70,7 +70,7 @@ Here the values you can override:
7070
| Key | Type | Default | Description |
7171
|-----|------|---------|-------------|
7272
| affinity | object | `{}` | Kubernetes affinity rules to apply to Kamaji controller pods |
73-
| defaultDatastoreName | string | `"default"` | If specified, all the Kamaji instances with an unassigned DataStore will inherit this default value. |
73+
| defaultDatastoreName | string | `"default"` | Specify the default DataStore name for the Kamaji instance. |
7474
| extraArgs | list | `[]` | A list of extra arguments to add to the kamaji controller default ones |
7575
| fullnameOverride | string | `""` | |
7676
| healthProbeBindAddress | string | `":8081"` | The address the probe endpoint binds to. (default ":8081") |

packages/system/kamaji/charts/kamaji/crds/kamaji.clastix.io_tenantcontrolplanes.yaml

Lines changed: 8 additions & 63 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ spec:
6666
metadata:
6767
type: object
6868
spec:
69+
description: TenantControlPlaneSpec defines the desired state of TenantControlPlane.
6970
properties:
7071
addons:
7172
description: Addons contain which addons are enabled
@@ -6412,23 +6413,10 @@ spec:
64126413
type: object
64136414
dataStore:
64146415
description: |-
6415-
DataStore specifies the DataStore that should be used to store the Kubernetes data for the given Tenant Control Plane.
6416-
When Kamaji runs with the default DataStore flag, all empty values will inherit the default value.
6417-
By leaving it empty and running Kamaji with no default DataStore flag, it is possible to achieve automatic assignment to a specific DataStore object.
6418-
6419-
Migration from one DataStore to another backed by the same Driver is possible. See: https://kamaji.clastix.io/guides/datastore-migration/
6420-
Migration from one DataStore to another backed by a different Driver is not supported.
6421-
type: string
6422-
dataStoreSchema:
6423-
description: |-
6424-
DataStoreSchema allows to specify the name of the database (for relational DataStores) or the key prefix (for etcd). This
6425-
value is optional and immutable. Note that Kamaji currently doesn't ensure that DataStoreSchema values are unique. It's up
6426-
to the user to avoid clashes between different TenantControlPlanes. If not set upon creation, Kamaji will default the
6427-
DataStoreSchema by concatenating the namespace and name of the TenantControlPlane.
6416+
DataStore allows to specify a DataStore that should be used to store the Kubernetes data for the given Tenant Control Plane.
6417+
This parameter is optional and acts as an override over the default one which is used by the Kamaji Operator.
6418+
Migration from a different DataStore to another one is not yet supported and the reconciliation will be blocked.
64286419
type: string
6429-
x-kubernetes-validations:
6430-
- message: changing the dataStoreSchema is not supported
6431-
rule: self == oldSelf
64326420
kubernetes:
64336421
description: Kubernetes specification for tenant control plane
64346422
properties:
@@ -6551,47 +6539,15 @@ spec:
65516539
items:
65526540
type: string
65536541
type: array
6554-
clusterDomain:
6555-
default: cluster.local
6556-
description: The default domain name used for DNS resolution within the cluster.
6557-
pattern: .*\..*
6558-
type: string
6559-
x-kubernetes-validations:
6560-
- message: changing the cluster domain is not supported
6561-
rule: self == oldSelf
65626542
dnsServiceIPs:
6563-
description: |-
6564-
The DNS Service for internal resolution, it must match the Service CIDR.
6565-
In case of an empty value, it is automatically computed according to the Service CIDR, e.g.:
6566-
Service CIDR 10.96.0.0/16, the resulting DNS Service IP will be 10.96.0.10 for IPv4,
6567-
for IPv6 from the CIDR 2001:db8:abcd::/64 the resulting DNS Service IP will be 2001:db8:abcd::10.
6568-
items:
6569-
type: string
6570-
type: array
6571-
loadBalancerClass:
6572-
description: |-
6573-
Specify the LoadBalancer class in case of multiple load balancer implementations.
6574-
Field supported only for Tenant Control Plane instances exposed using a LoadBalancer Service.
6575-
minLength: 1
6576-
type: string
6577-
x-kubernetes-validations:
6578-
- message: LoadBalancerClass is immutable
6579-
rule: self == oldSelf
6580-
loadBalancerSourceRanges:
6581-
description: |-
6582-
LoadBalancerSourceRanges restricts the IP ranges that can access
6583-
the LoadBalancer type Service. This field defines a list of IP
6584-
address ranges (in CIDR format) that are allowed to access the service.
6585-
If left empty, the service will allow traffic from all IP ranges (0.0.0.0/0).
6586-
This feature is useful for restricting access to API servers or services
6587-
to specific networks for security purposes.
6588-
Example: {"192.168.1.0/24", "10.0.0.0/8"}
6543+
default:
6544+
- 10.96.0.10
65896545
items:
65906546
type: string
65916547
type: array
65926548
podCidr:
65936549
default: 10.244.0.0/16
6594-
description: 'CIDR for Kubernetes Pods: if empty, defaulted to 10.244.0.0/16.'
6550+
description: CIDR for Kubernetes Pods
65956551
type: string
65966552
port:
65976553
default: 6443
@@ -6600,24 +6556,13 @@ spec:
66006556
type: integer
66016557
serviceCidr:
66026558
default: 10.96.0.0/16
6603-
description: 'CIDR for Kubernetes Services: if empty, defaulted to 10.96.0.0/16.'
6559+
description: Kubernetes Service
66046560
type: string
66056561
type: object
66066562
required:
66076563
- controlPlane
66086564
- kubernetes
66096565
type: object
6610-
x-kubernetes-validations:
6611-
- message: unsetting the dataStore is not supported
6612-
rule: '!has(oldSelf.dataStore) || has(self.dataStore)'
6613-
- message: unsetting the dataStoreSchema is not supported
6614-
rule: '!has(oldSelf.dataStoreSchema) || has(self.dataStoreSchema)'
6615-
- message: LoadBalancer source ranges are supported only with LoadBalancer service type
6616-
rule: '!has(self.networkProfile.loadBalancerSourceRanges) || (size(self.networkProfile.loadBalancerSourceRanges) == 0 || self.controlPlane.service.serviceType == ''LoadBalancer'')'
6617-
- message: LoadBalancerClass is supported only with LoadBalancer service type
6618-
rule: '!has(self.networkProfile.loadBalancerClass) || self.controlPlane.service.serviceType == ''LoadBalancer'''
6619-
- message: LoadBalancerClass cannot be set or unset at runtime
6620-
rule: self.controlPlane.service.serviceType != 'LoadBalancer' || (oldSelf.controlPlane.service.serviceType != 'LoadBalancer' && self.controlPlane.service.serviceType == 'LoadBalancer') || has(self.networkProfile.loadBalancerClass) == has(oldSelf.networkProfile.loadBalancerClass)
66216566
status:
66226567
description: TenantControlPlaneStatus defines the observed state of TenantControlPlane.
66236568
properties:

packages/system/kamaji/charts/kamaji/templates/controller.yaml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,8 @@ spec:
3333
- --leader-elect
3434
- --metrics-bind-address={{ .Values.metricsBindAddress }}
3535
- --tmp-directory={{ .Values.temporaryDirectoryPath }}
36-
{{- if not (eq .Values.defaultDatastoreName "") }}
37-
- --datastore={{ .Values.defaultDatastoreName }}
38-
{{- end }}
36+
{{- $datastoreName := .Values.defaultDatastoreName | required ".Values.defaultDatastoreName is required!" }}
37+
- --datastore={{ $datastoreName }}
3938
{{- if .Values.telemetry.disabled }}
4039
- --disable-telemetry
4140
{{- end }}

packages/system/kamaji/charts/kamaji/values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ loggingDevel:
9595
# -- Development Mode defaults(encoder=consoleEncoder,logLevel=Debug,stackTraceLevel=Warn). Production Mode defaults(encoder=jsonEncoder,logLevel=Info,stackTraceLevel=Error) (default false)
9696
enable: false
9797

98-
# -- If specified, all the Kamaji instances with an unassigned DataStore will inherit this default value.
98+
# -- Specify the default DataStore name for the Kamaji instance.
9999
defaultDatastoreName: default
100100

101101
kamaji-etcd:

packages/system/kamaji/images/kamaji/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Build the manager binary
22
FROM golang:1.23 as builder
33

4-
ARG VERSION=edge-24.12.1
4+
ARG VERSION=edge-24.9.2
55
ARG TARGETOS TARGETARCH
66

77
WORKDIR /workspace

0 commit comments

Comments
 (0)