diff --git a/deploy/00crds.yaml b/deploy/00crds.yaml index 999d8e7..ec7766f 100644 --- a/deploy/00crds.yaml +++ b/deploy/00crds.yaml @@ -482,29 +482,50 @@ spec: spec: description: OpenstackCredsSpec defines the desired state of OpenstackCreds properties: - OS_AUTH_URL: - description: OsAuthURL is the OpenStack authentication URL - type: string - OS_DOMAIN_NAME: - description: OsDomainName is the OpenStack domain name - type: string - OS_INSECURE: - default: false - description: OsInsecure is the flag to skip verification of the OpenStack - TLS Certificate - type: boolean - OS_PASSWORD: - description: OsPassword is the OpenStack password - type: string - OS_REGION_NAME: - description: OsRegionName is the OpenStack region name - type: string - OS_TENANT_NAME: - description: OsTenantName is the OpenStack tenant name - type: string - OS_USERNAME: - description: OsUsername is the OpenStack username - type: string + secretRef: + description: SecretRef is the reference to the Kubernetes secret holding + OpenStack credentials + properties: + apiVersion: + description: API version of the referent. + type: string + fieldPath: + description: |- + If referring to a piece of an object instead of an entire object, this string + should contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2]. + For example, if the object reference is to a container within a pod, this would take on a value like: + "spec.containers{name}" (where "name" refers to the name of the container that triggered + the event) or if no container name is specified "spec.containers[2]" (container with + index 2 in this pod). This syntax is chosen only to have some well-defined way of + referencing a part of an object. + type: string + kind: + description: |- + Kind of the referent. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + type: string + name: + description: |- + Name of the referent. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + type: string + namespace: + description: |- + Namespace of the referent. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/ + type: string + resourceVersion: + description: |- + Specific resourceVersion to which this reference is made, if any. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency + type: string + uid: + description: |- + UID of the referent. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids + type: string + type: object + x-kubernetes-map-type: atomic type: object status: description: OpenstackCredsStatus defines the observed state of OpenstackCreds @@ -512,9 +533,6 @@ spec: openstackValidationMessage: type: string openstackValidationStatus: - description: |- - INSERT ADDITIONAL STATUS FIELD - define observed state of cluster - Important: Run "make" to regenerate code after modifying this file type: string type: object type: object @@ -809,19 +827,51 @@ spec: spec: description: VMwareCredsSpec defines the desired state of VMwareCreds properties: - VCENTER_HOST: - type: string - VCENTER_INSECURE: - type: boolean - VCENTER_PASSWORD: - type: string - VCENTER_USERNAME: - type: string - required: - - VCENTER_HOST - - VCENTER_INSECURE - - VCENTER_PASSWORD - - VCENTER_USERNAME + secretRef: + description: |- + INSERT ADDITIONAL SPEC FIELDS - desired state of cluster + Important: Run "make" to regenerate code after modifying this file + properties: + apiVersion: + description: API version of the referent. + type: string + fieldPath: + description: |- + If referring to a piece of an object instead of an entire object, this string + should contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2]. + For example, if the object reference is to a container within a pod, this would take on a value like: + "spec.containers{name}" (where "name" refers to the name of the container that triggered + the event) or if no container name is specified "spec.containers[2]" (container with + index 2 in this pod). This syntax is chosen only to have some well-defined way of + referencing a part of an object. + type: string + kind: + description: |- + Kind of the referent. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + type: string + name: + description: |- + Name of the referent. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + type: string + namespace: + description: |- + Namespace of the referent. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/ + type: string + resourceVersion: + description: |- + Specific resourceVersion to which this reference is made, if any. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency + type: string + uid: + description: |- + UID of the referent. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids + type: string + type: object + x-kubernetes-map-type: atomic type: object status: description: VMwareCredsStatus defines the observed state of VMwareCreds @@ -900,6 +950,7 @@ rules: resources: - configmaps - pods + - secrets verbs: - create - delete @@ -1439,7 +1490,7 @@ spec: requiredDuringSchedulingIgnoredDuringExecution: nodeSelectorTerms: - matchExpressions: - - key: node-role.kubernetes.io/master + - key: node-role.kubernetes.io/control-plane operator: Exists containers: - args: @@ -1447,7 +1498,7 @@ spec: - --health-probe-bind-address=:8081 command: - /manager - image: quay.io/platform9/vjailbreak-controller:v0.1.4 + image: quay.io/platform9/vjailbreak-controller:v0.1.5 imagePullPolicy: IfNotPresent livenessProbe: httpGet: diff --git a/deploy/04ui.yaml b/deploy/04ui.yaml index 2e03ac2..ef1f5be 100644 --- a/deploy/04ui.yaml +++ b/deploy/04ui.yaml @@ -62,13 +62,22 @@ metadata: namespace: default annotations: nginx.ingress.kubernetes.io/backend-protocol: "HTTPS" + nginx.ingress.kubernetes.io/rewrite-target: /$1 + nginx.ingress.kubernetes.io/use-regex: "true" spec: ingressClassName: nginx rules: - http: paths: - - path: /apis - pathType: Prefix + - path: /(apis.*) + pathType: ImplementationSpecific + backend: + service: + name: kubernetes + port: + number: 443 + - path: /(api.*) + pathType: ImplementationSpecific backend: service: name: kubernetes diff --git a/releases/v0.1.5.md b/releases/v0.1.5.md new file mode 100644 index 0000000..e762582 --- /dev/null +++ b/releases/v0.1.5.md @@ -0,0 +1,29 @@ +# v0.1.5 + +- **Tag:** `v0.1.5` +- **Published:** 2025-03-04T18:18:51Z +- **Source release:** https://github.com/platform9/vjailbreak/releases/tag/v0.1.5 + +## Release Notes + +## What's Changed +* Accept vmware and openstack creds via secert by @spai-p9 in https://github.com/platform9/vjailbreak/pull/228 +* Create and Reuse existing open stack and vmware creds with other mino… by @patil-pratik-87 in https://github.com/platform9/vjailbreak/pull/237 +* Support OS installed on LV by @OmkarDeshpande7 in https://github.com/platform9/vjailbreak/pull/227 +* Adding templates for github wiki by @sharma-tapas in https://github.com/platform9/vjailbreak/pull/226 +* resolving lint issues by @patil-pratik-87 in https://github.com/platform9/vjailbreak/pull/239 +* resolving lint issues by @patil-pratik-87 in https://github.com/platform9/vjailbreak/pull/240 +* update image tag to v0.1.5 by @OmkarDeshpande7 in https://github.com/platform9/vjailbreak/pull/242 +* Base documentation update for vJailbreak by @sharma-tapas in https://github.com/platform9/vjailbreak/pull/243 +* Update checkout action to generate release notes by @sharma-tapas in https://github.com/platform9/vjailbreak/pull/249 +* Update checkout action to generate release notes by @sharma-tapas in https://github.com/platform9/vjailbreak/pull/250 +* Ingress changes to call k8s apis by @spai-p9 in https://github.com/platform9/vjailbreak/pull/252 +* Reformatted readme by @damian-pf9 in https://github.com/platform9/vjailbreak/pull/206 + +## New Contributors +* @damian-pf9 made their first contribution in https://github.com/platform9/vjailbreak/pull/206 +* @bhavin192 made their first contribution +* @anmolsachan made their first contribution + +**Full Changelog**: https://github.com/platform9/vjailbreak/compare/v0.1.4...v0.1.5 +