From 339a7d3d6eb5e75f5f2160173d7a1e4f687715e7 Mon Sep 17 00:00:00 2001 From: Gottox Date: Tue, 4 Feb 2025 19:51:40 +0000 Subject: [PATCH] automatic pipeline release at withlazers/rustcloak-operator v0.1.10 Source: https://github.com/withlazers/rustcloak-operator/commit/3bdaeb7867472d432cd4417896bfa35789de2e1a --- charts/rustcloak-operator/Chart.yaml | 4 +- charts/rustcloak-operator/README.md | 2 +- ...akapiobjects.rustcloak.k8s.eboland.de.yaml | 22 +- ...cloakclients.rustcloak.k8s.eboland.de.yaml | 30 + ...ycloakrealms.rustcloak.k8s.eboland.de.yaml | 911 ++++++++++++++++++ ...oakresources.rustcloak.k8s.eboland.de.yaml | 6 + ...ycloakscopes.rustcloak.k8s.eboland.de.yaml | 3 + .../templates/deployment.yaml | 8 +- 8 files changed, 980 insertions(+), 6 deletions(-) diff --git a/charts/rustcloak-operator/Chart.yaml b/charts/rustcloak-operator/Chart.yaml index 0447b36..57bcde2 100644 --- a/charts/rustcloak-operator/Chart.yaml +++ b/charts/rustcloak-operator/Chart.yaml @@ -9,5 +9,5 @@ maintainers: - name: Enno Boland email: mail@eboland.de url: https://github.com/Gottox -version: 0.1.9 -appVersion: "v0.1.9" +version: 0.1.10 +appVersion: "v0.1.10" diff --git a/charts/rustcloak-operator/README.md b/charts/rustcloak-operator/README.md index af2c1eb..54ad629 100644 --- a/charts/rustcloak-operator/README.md +++ b/charts/rustcloak-operator/README.md @@ -1,6 +1,6 @@ # rustcloak-operator -![Version: 0.1.8](https://img.shields.io/badge/Version-0.1.8-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: v0.1.8](https://img.shields.io/badge/AppVersion-v0.1.8-informational?style=flat-square) +![Version: 0.1.10](https://img.shields.io/badge/Version-0.1.10-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: v0.1.10](https://img.shields.io/badge/AppVersion-v0.1.10-informational?style=flat-square) The helm-chart for the rustcloak-operator diff --git a/charts/rustcloak-operator/crds/keycloakapiobjects.rustcloak.k8s.eboland.de.yaml b/charts/rustcloak-operator/crds/keycloakapiobjects.rustcloak.k8s.eboland.de.yaml index 4303d44..00528a7 100644 --- a/charts/rustcloak-operator/crds/keycloakapiobjects.rustcloak.k8s.eboland.de.yaml +++ b/charts/rustcloak-operator/crds/keycloakapiobjects.rustcloak.k8s.eboland.de.yaml @@ -41,12 +41,33 @@ spec: description: defines an API request to the Keycloak Admin API. properties: endpoint: + oneOf: + - required: + - path + - required: + - parent properties: instanceRef: type: string x-kubernetes-validations: - message: Value is immutable rule: self == oldSelf + parent: + properties: + parent_ref: + type: string + x-kubernetes-validations: + - message: Value is immutable + rule: self == oldSelf + sub_path: + type: string + x-kubernetes-validations: + - message: Value is immutable + rule: self == oldSelf + required: + - parent_ref + - sub_path + type: object path: type: string x-kubernetes-validations: @@ -54,7 +75,6 @@ spec: rule: self == oldSelf required: - instanceRef - - path type: object immutablePayload: type: string diff --git a/charts/rustcloak-operator/crds/keycloakclients.rustcloak.k8s.eboland.de.yaml b/charts/rustcloak-operator/crds/keycloakclients.rustcloak.k8s.eboland.de.yaml index 1b72129..5f64099 100644 --- a/charts/rustcloak-operator/crds/keycloakclients.rustcloak.k8s.eboland.de.yaml +++ b/charts/rustcloak-operator/crds/keycloakclients.rustcloak.k8s.eboland.de.yaml @@ -82,6 +82,24 @@ spec: allowRemoteResourceManagement: nullable: true type: boolean + authorizationSchema: + nullable: true + properties: + resourceTypes: + additionalProperties: + properties: + scopes: + items: + type: string + nullable: true + type: array + type: + nullable: true + type: string + type: object + nullable: true + type: object + type: object clientId: nullable: true type: string @@ -136,6 +154,9 @@ spec: type: string nullable: true type: array + resourceType: + nullable: true + type: string resources: items: type: string @@ -403,6 +424,9 @@ spec: type: string nullable: true type: array + resourceType: + nullable: true + type: string resources: items: type: string @@ -477,6 +501,9 @@ spec: type: string nullable: true type: array + resourceType: + nullable: true + type: string resources: items: type: string @@ -565,6 +592,9 @@ spec: type: string nullable: true type: array + resourceType: + nullable: true + type: string resources: items: type: string diff --git a/charts/rustcloak-operator/crds/keycloakrealms.rustcloak.k8s.eboland.de.yaml b/charts/rustcloak-operator/crds/keycloakrealms.rustcloak.k8s.eboland.de.yaml index c2ef46c..83e71e9 100644 --- a/charts/rustcloak-operator/crds/keycloakrealms.rustcloak.k8s.eboland.de.yaml +++ b/charts/rustcloak-operator/crds/keycloakrealms.rustcloak.k8s.eboland.de.yaml @@ -75,6 +75,908 @@ spec: adminEventsEnabled: nullable: true type: boolean + adminPermissionsClient: + nullable: true + properties: + access: + additionalProperties: + type: boolean + nullable: true + type: object + adminUrl: + nullable: true + type: string + alwaysDisplayInConsole: + nullable: true + type: boolean + attributes: + additionalProperties: + type: string + nullable: true + type: object + authenticationFlowBindingOverrides: + additionalProperties: + type: string + nullable: true + type: object + authorizationServicesEnabled: + nullable: true + type: boolean + authorizationSettings: + nullable: true + properties: + allowRemoteResourceManagement: + nullable: true + type: boolean + authorizationSchema: + nullable: true + properties: + resourceTypes: + additionalProperties: + properties: + scopes: + items: + type: string + nullable: true + type: array + type: + nullable: true + type: string + type: object + nullable: true + type: object + type: object + clientId: + nullable: true + type: string + decisionStrategy: + enum: + - AFFIRMATIVE + - UNANIMOUS + - CONSENSUS + nullable: true + type: string + id: + nullable: true + type: string + name: + nullable: true + type: string + policies: + items: + properties: + config: + additionalProperties: + type: string + nullable: true + type: object + decisionStrategy: + enum: + - AFFIRMATIVE + - UNANIMOUS + - CONSENSUS + nullable: true + type: string + description: + nullable: true + type: string + id: + nullable: true + type: string + logic: + enum: + - POSITIVE + - NEGATIVE + nullable: true + type: string + name: + nullable: true + type: string + owner: + nullable: true + type: string + policies: + items: + type: string + nullable: true + type: array + resourceType: + nullable: true + type: string + resources: + items: + type: string + nullable: true + type: array + resourcesData: + items: + properties: + _id: + nullable: true + type: string + attributes: + additionalProperties: + items: + type: string + type: array + nullable: true + type: object + displayName: + nullable: true + type: string + icon_uri: + nullable: true + type: string + name: + nullable: true + type: string + owner: + nullable: true + properties: + id: + nullable: true + type: string + name: + nullable: true + type: string + type: object + ownerManagedAccess: + nullable: true + type: boolean + scopes: + items: + properties: + displayName: + nullable: true + type: string + iconUri: + nullable: true + type: string + id: + nullable: true + type: string + name: + nullable: true + type: string + policies: + items: + $ref: '#/components/schemas/PolicyRepresentation' + nullable: true + type: array + resources: + items: + $ref: '#/components/schemas/ResourceRepresentation' + nullable: true + type: array + type: object + nullable: true + type: array + scopesUma: + items: + properties: + displayName: + nullable: true + type: string + iconUri: + nullable: true + type: string + id: + nullable: true + type: string + name: + nullable: true + type: string + policies: + items: + $ref: '#/components/schemas/PolicyRepresentation' + nullable: true + type: array + resources: + items: + $ref: '#/components/schemas/ResourceRepresentation' + nullable: true + type: array + type: object + nullable: true + type: array + type: + nullable: true + type: string + uri: + nullable: true + type: string + uris: + items: + type: string + nullable: true + type: array + type: object + nullable: true + type: array + scopes: + items: + type: string + nullable: true + type: array + scopesData: + items: + properties: + displayName: + nullable: true + type: string + iconUri: + nullable: true + type: string + id: + nullable: true + type: string + name: + nullable: true + type: string + policies: + items: + $ref: '#/components/schemas/PolicyRepresentation' + nullable: true + type: array + resources: + items: + properties: + _id: + nullable: true + type: string + attributes: + additionalProperties: + items: + type: string + type: array + nullable: true + type: object + displayName: + nullable: true + type: string + icon_uri: + nullable: true + type: string + name: + nullable: true + type: string + owner: + nullable: true + properties: + id: + nullable: true + type: string + name: + nullable: true + type: string + type: object + ownerManagedAccess: + nullable: true + type: boolean + scopes: + items: + $ref: '#/components/schemas/ScopeRepresentation' + nullable: true + type: array + scopesUma: + items: + $ref: '#/components/schemas/ScopeRepresentation' + nullable: true + type: array + type: + nullable: true + type: string + uri: + nullable: true + type: string + uris: + items: + type: string + nullable: true + type: array + type: object + nullable: true + type: array + type: object + nullable: true + type: array + type: + nullable: true + type: string + type: object + nullable: true + type: array + policyEnforcementMode: + enum: + - ENFORCING + - PERMISSIVE + - DISABLED + nullable: true + type: string + resources: + items: + properties: + _id: + nullable: true + type: string + attributes: + additionalProperties: + items: + type: string + type: array + nullable: true + type: object + displayName: + nullable: true + type: string + icon_uri: + nullable: true + type: string + name: + nullable: true + type: string + owner: + nullable: true + properties: + id: + nullable: true + type: string + name: + nullable: true + type: string + type: object + ownerManagedAccess: + nullable: true + type: boolean + scopes: + items: + properties: + displayName: + nullable: true + type: string + iconUri: + nullable: true + type: string + id: + nullable: true + type: string + name: + nullable: true + type: string + policies: + items: + properties: + config: + additionalProperties: + type: string + nullable: true + type: object + decisionStrategy: + enum: + - AFFIRMATIVE + - UNANIMOUS + - CONSENSUS + nullable: true + type: string + description: + nullable: true + type: string + id: + nullable: true + type: string + logic: + enum: + - POSITIVE + - NEGATIVE + nullable: true + type: string + name: + nullable: true + type: string + owner: + nullable: true + type: string + policies: + items: + type: string + nullable: true + type: array + resourceType: + nullable: true + type: string + resources: + items: + type: string + nullable: true + type: array + resourcesData: + items: + $ref: '#/components/schemas/ResourceRepresentation' + nullable: true + type: array + scopes: + items: + type: string + nullable: true + type: array + scopesData: + items: + $ref: '#/components/schemas/ScopeRepresentation' + nullable: true + type: array + type: + nullable: true + type: string + type: object + nullable: true + type: array + resources: + items: + $ref: '#/components/schemas/ResourceRepresentation' + nullable: true + type: array + type: object + nullable: true + type: array + scopesUma: + items: + properties: + displayName: + nullable: true + type: string + iconUri: + nullable: true + type: string + id: + nullable: true + type: string + name: + nullable: true + type: string + policies: + items: + properties: + config: + additionalProperties: + type: string + nullable: true + type: object + decisionStrategy: + enum: + - AFFIRMATIVE + - UNANIMOUS + - CONSENSUS + nullable: true + type: string + description: + nullable: true + type: string + id: + nullable: true + type: string + logic: + enum: + - POSITIVE + - NEGATIVE + nullable: true + type: string + name: + nullable: true + type: string + owner: + nullable: true + type: string + policies: + items: + type: string + nullable: true + type: array + resourceType: + nullable: true + type: string + resources: + items: + type: string + nullable: true + type: array + resourcesData: + items: + $ref: '#/components/schemas/ResourceRepresentation' + nullable: true + type: array + scopes: + items: + type: string + nullable: true + type: array + scopesData: + items: + $ref: '#/components/schemas/ScopeRepresentation' + nullable: true + type: array + type: + nullable: true + type: string + type: object + nullable: true + type: array + resources: + items: + $ref: '#/components/schemas/ResourceRepresentation' + nullable: true + type: array + type: object + nullable: true + type: array + type: + nullable: true + type: string + uri: + nullable: true + type: string + uris: + items: + type: string + nullable: true + type: array + type: object + nullable: true + type: array + scopes: + items: + properties: + displayName: + nullable: true + type: string + iconUri: + nullable: true + type: string + id: + nullable: true + type: string + name: + nullable: true + type: string + policies: + items: + properties: + config: + additionalProperties: + type: string + nullable: true + type: object + decisionStrategy: + enum: + - AFFIRMATIVE + - UNANIMOUS + - CONSENSUS + nullable: true + type: string + description: + nullable: true + type: string + id: + nullable: true + type: string + logic: + enum: + - POSITIVE + - NEGATIVE + nullable: true + type: string + name: + nullable: true + type: string + owner: + nullable: true + type: string + policies: + items: + type: string + nullable: true + type: array + resourceType: + nullable: true + type: string + resources: + items: + type: string + nullable: true + type: array + resourcesData: + items: + properties: + _id: + nullable: true + type: string + attributes: + additionalProperties: + items: + type: string + type: array + nullable: true + type: object + displayName: + nullable: true + type: string + icon_uri: + nullable: true + type: string + name: + nullable: true + type: string + owner: + nullable: true + properties: + id: + nullable: true + type: string + name: + nullable: true + type: string + type: object + ownerManagedAccess: + nullable: true + type: boolean + scopes: + items: + $ref: '#/components/schemas/ScopeRepresentation' + nullable: true + type: array + scopesUma: + items: + $ref: '#/components/schemas/ScopeRepresentation' + nullable: true + type: array + type: + nullable: true + type: string + uri: + nullable: true + type: string + uris: + items: + type: string + nullable: true + type: array + type: object + nullable: true + type: array + scopes: + items: + type: string + nullable: true + type: array + scopesData: + items: + $ref: '#/components/schemas/ScopeRepresentation' + nullable: true + type: array + type: + nullable: true + type: string + type: object + nullable: true + type: array + resources: + items: + properties: + _id: + nullable: true + type: string + attributes: + additionalProperties: + items: + type: string + type: array + nullable: true + type: object + displayName: + nullable: true + type: string + icon_uri: + nullable: true + type: string + name: + nullable: true + type: string + owner: + nullable: true + properties: + id: + nullable: true + type: string + name: + nullable: true + type: string + type: object + ownerManagedAccess: + nullable: true + type: boolean + scopes: + items: + $ref: '#/components/schemas/ScopeRepresentation' + nullable: true + type: array + scopesUma: + items: + $ref: '#/components/schemas/ScopeRepresentation' + nullable: true + type: array + type: + nullable: true + type: string + uri: + nullable: true + type: string + uris: + items: + type: string + nullable: true + type: array + type: object + nullable: true + type: array + type: object + nullable: true + type: array + type: object + baseUrl: + nullable: true + type: string + bearerOnly: + nullable: true + type: boolean + clientAuthenticatorType: + nullable: true + type: string + clientId: + nullable: true + type: string + clientTemplate: + nullable: true + type: string + consentRequired: + nullable: true + type: boolean + defaultClientScopes: + items: + type: string + nullable: true + type: array + defaultRoles: + items: + type: string + nullable: true + type: array + description: + nullable: true + type: string + directAccessGrantsEnabled: + nullable: true + type: boolean + directGrantsOnly: + nullable: true + type: boolean + enabled: + nullable: true + type: boolean + frontchannelLogout: + nullable: true + type: boolean + fullScopeAllowed: + nullable: true + type: boolean + id: + nullable: true + type: string + implicitFlowEnabled: + nullable: true + type: boolean + name: + nullable: true + type: string + nodeReRegistrationTimeout: + format: int32 + nullable: true + type: integer + notBefore: + format: int32 + nullable: true + type: integer + optionalClientScopes: + items: + type: string + nullable: true + type: array + origin: + nullable: true + type: string + protocol: + nullable: true + type: string + protocolMappers: + items: + properties: + config: + additionalProperties: + type: string + nullable: true + type: object + consentRequired: + nullable: true + type: boolean + consentText: + nullable: true + type: string + id: + nullable: true + type: string + name: + nullable: true + type: string + protocol: + nullable: true + type: string + protocolMapper: + nullable: true + type: string + type: object + nullable: true + type: array + publicClient: + nullable: true + type: boolean + redirectUris: + items: + type: string + nullable: true + type: array + registeredNodes: + additionalProperties: + format: int32 + type: integer + nullable: true + type: object + registrationAccessToken: + nullable: true + type: string + rootUrl: + nullable: true + type: string + secret: + nullable: true + type: string + serviceAccountsEnabled: + nullable: true + type: boolean + standardFlowEnabled: + nullable: true + type: boolean + surrogateAuthRequired: + nullable: true + type: boolean + type: + nullable: true + type: string + useTemplateConfig: + nullable: true + type: boolean + useTemplateMappers: + nullable: true + type: boolean + useTemplateScope: + nullable: true + type: boolean + webOrigins: + items: + type: string + nullable: true + type: array + type: object + adminPermissionsEnabled: + nullable: true + type: boolean adminTheme: nullable: true type: string @@ -191,6 +1093,12 @@ spec: bruteForceProtected: nullable: true type: boolean + bruteForceStrategy: + enum: + - LINEAR + - MULTIPLE + nullable: true + type: string certificate: nullable: true type: string @@ -2181,6 +3089,9 @@ spec: type: object nullable: true type: array + verifiableCredentialsEnabled: + nullable: true + type: boolean verifyEmail: nullable: true type: boolean diff --git a/charts/rustcloak-operator/crds/keycloakresources.rustcloak.k8s.eboland.de.yaml b/charts/rustcloak-operator/crds/keycloakresources.rustcloak.k8s.eboland.de.yaml index e216a35..86b2196 100644 --- a/charts/rustcloak-operator/crds/keycloakresources.rustcloak.k8s.eboland.de.yaml +++ b/charts/rustcloak-operator/crds/keycloakresources.rustcloak.k8s.eboland.de.yaml @@ -129,6 +129,9 @@ spec: type: string nullable: true type: array + resourceType: + nullable: true + type: string resources: items: type: string @@ -202,6 +205,9 @@ spec: type: string nullable: true type: array + resourceType: + nullable: true + type: string resources: items: type: string diff --git a/charts/rustcloak-operator/crds/keycloakscopes.rustcloak.k8s.eboland.de.yaml b/charts/rustcloak-operator/crds/keycloakscopes.rustcloak.k8s.eboland.de.yaml index 499ae38..71a2d6c 100644 --- a/charts/rustcloak-operator/crds/keycloakscopes.rustcloak.k8s.eboland.de.yaml +++ b/charts/rustcloak-operator/crds/keycloakscopes.rustcloak.k8s.eboland.de.yaml @@ -94,6 +94,9 @@ spec: type: string nullable: true type: array + resourceType: + nullable: true + type: string resources: items: type: string diff --git a/charts/rustcloak-operator/templates/deployment.yaml b/charts/rustcloak-operator/templates/deployment.yaml index 770b811..775af68 100644 --- a/charts/rustcloak-operator/templates/deployment.yaml +++ b/charts/rustcloak-operator/templates/deployment.yaml @@ -35,8 +35,12 @@ spec: image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}" imagePullPolicy: {{ .Values.image.pullPolicy }} args: - {{- if .Values.application.legacy }} - - --legacy + {{- with .Values.application.legacy }} + {{- if typeOf . | eq "bool" | and . }} + - --legacy=all + {{- else }} + - --legacy={{ . }} + {{- end }} {{- end }} - --metrics-addr - 0.0.0.0:8080