Last modified November 21, 2024
Configure helm execution
As explained in the app platform overview all managed apps are helm
charts underneath. It means that at the very bottom the platform must trigger the helm-related actions, like installation or upgrade, against the requested application. This process, mostly, can’t be influenced by a user as we try to well-tune it universally to all the apps. Yet, we anticipate that apps not matching these universal rules may exist, hence we offer a way to tweak some of the helm's
options.
There are several options currently supported for every helm
action. In the next sections, you see a list of the possible customizations with code snippets to help you understand how to use them.
Install
The installation options are exposed via the corresponding .spec.install
field of the App
custom resource.
SkipCRDs
If set, no custom resource definitions will be installed by helm
. By default, those are installed if not already present. Find the example below.
apiVersion: application.giantswarm.io/v1alpha1
kind: App
metadata:
name: demo
spec:
install:
skipCRDs: true
Install timeout
Time to wait for any individual kubernetes
operation (like Jobs
for hooks). If not set, the default timeout of 5
minutes is used.
apiVersion: application.giantswarm.io/v1alpha1
kind: App
metadata:
name: demo
spec:
install:
timeout: 10m
Upgrade
The installation options are exposed via the corresponding .spec.upgrade
field of the App
resource.
Upgrade timeout
Time to wait for any individual kubernetes
operation (like Jobs
for hooks). If not set, the default timeout of 5
minutes is used.
apiVersion: application.giantswarm.io/v1alpha1
kind: App
metadata:
name: demo
spec:
upgrade:
timeout: 10m
Rollback
The installation options are exposed via the corresponding .spec.rollback
field of the App
resource.
Rollback timeout
Time to wait for any individual kubernetes
operation (like Jobs
for hooks). If not set, the default timeout of 5
minutes is used.
apiVersion: application.giantswarm.io/v1alpha1
kind: App
metadata:
name: demo
spec:
rollback:
timeout: 10m
Uninstall
The installation options are exposed via the corresponding .spec.uninstall
field of the App
resource.
Uninstall timeout
Time to wait for any individual kubernetes
operation (like Jobs
for hooks). If not set, the default timeout of 5
minutes is used.
apiVersion: application.giantswarm.io/v1alpha1
kind: App
metadata:
name: demo
spec:
uninstall:
timeout: 10m
Need help, got feedback?
We listen to your Slack support channel. You can also reach us at support@giantswarm.io. And of course, we welcome your pull requests!