Closed hackinjack closed 1 year ago
@hackinjack We recommend to use Moon 2 instead. Contrarily to Moon 1.x pods are never started with elevated permission requests and regular user is always used inside all images. https://aerokube.com/moon/latest/#install-kubernetes
Another alternative could be using kubemod to update affected pods in place.
@hackinjack We recommend to use Moon 2 instead. Contrarily to Moon 1.x pods are never started with elevated permission requests and regular user is always used inside all images. https://aerokube.com/moon/latest/#install-kubernetes
Thanks very much for this, however at present we do not have any internal helm repos with moon artifacts and it would be a lengthy process to implement that. Is there any non-helm deployment code available for V2 please?
@hackinjack we don't have such manifests because Moon 2 now relies on generated custom resource definitions and storing such files in raw YAML is too error prone. To get a raw YAML at least you can export Helm to raw YAML using helm template
command. https://helm.sh/docs/helm/helm_template/
In case it helps anyone else with private repos in highly restricted environments I'll just leave this here: To download specific versions of charts locally, for example https://charts.aerokube.com/, pull up the index used by helm by adding /index.yaml to the end of the repo url: https://charts.aerokube.com/index.yaml Then you can open the index.html file downloaded from this, and search for the artifact you want, in my case:
moon2:
- apiVersion: v2
appVersion: 2.5.1
created: "2023-05-18T18:05:30.167148085Z"
description: Moon Helm chart
digest: 4d3bc5f676d6692c0d1224d048a82219f22f74166611c6b5478b3d9d495fc56a
icon: https://aerokube.com/img/aerokube_logo.svg
name: moon2
urls:
- https://charts.aerokube.com/moon2-2.5.1.tgz
version: 2.5.1
Now I can download the tarball and expand it locally.
In case it helps anyone else with private repos in highly restricted environments I'll just leave this here: To download specific versions of charts locally, for example https://charts.aerokube.com/, pull up the index used by helm by adding /index.yaml to the end of the repo url: https://charts.aerokube.com/index.yaml Then you can open the index.html file downloaded from this, and search for the artifact you want, in my case:
moon2:
- apiVersion: v2
appVersion: 2.5.1
created: "2023-05-18T18:05:30.167148085Z"
description: Moon Helm chart
digest: 4d3bc5f676d6692c0d1224d048a82219f22f74166611c6b5478b3d9d495fc56a
icon: https://aerokube.com/img/aerokube_logo.svg
name: moon2
urls:
- https://charts.aerokube.com/moon2-2.5.1.tgz
version: 2.5.1
Now I can download the tarball and expand it locally.
@hackinjack yeah, this is how Helm repos work in general.
Getting this with following container versions:
moon:1.7.0 moon-api: 1.7.0 selenoid-ui: 1.10.1
also tried: moon/moon-api 1.9.7 selenoid-ui 1.10.4
Had to add securityContext blocks to 3 above containers: securityContext: readOnlyRootFilesystem: true allowPrivilegeEscalation: false
... then at least these load, however
Please advise. TiA.