Revert CIDR pool allocation and fix delete (#35)

Signed-off-by: galal-hussein <hussein.galal.ahmed.11@gmail.com>
This commit is contained in:
Hussein Galal
2023-03-28 23:45:57 +02:00
committed by GitHub
parent 7bcc312b4b
commit ea1e7e486f
7 changed files with 96 additions and 151 deletions

View File

@@ -1,38 +0,0 @@
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
name: cidrallocationpools.k3k.io
spec:
group: k3k.io
versions:
- name: v1alpha1
served: true
storage: true
schema:
openAPIV3Schema:
type: object
properties:
spec:
type: object
properties:
defaultClusterCIDR:
type: string
status:
type: object
properties:
pool:
type: array
items:
type: object
properties:
clusterName:
type: string
issued:
type: integer
ipNet:
type: string
scope: Cluster
names:
plural: cidrallocationpools
singular: cidrallocationpool
kind: CIDRAllocationPool

View File

@@ -3,9 +3,9 @@ namespace: k3k-system
image:
repository: husseingalal/k3k
pullPolicy: IfNotPresent
pullPolicy: Always
# Overrides the image tag whose default is the chart appVersion.
tag: "v0.0.0-alpha5"
tag: "dev"
imagePullSecrets: []
nameOverride: ""
@@ -16,4 +16,4 @@ serviceAccount:
create: true
# The name of the service account to use.
# If not set and create is true, a name is generated using the fullname template
name: ""
name: ""