# Edit an application

From the menu select **Applications**, select the application you want to edit, then click **Edit this application**.

<figure><img src="https://3850702872-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXI7douejaBgpZ6CP2zJf%2Fuploads%2Fgit-blob-24cc77122aba9570bf51a6327edd353cbd9830a2%2F2.20-kubernetes-applications-edit.gif?alt=media" alt=""><figcaption></figcaption></figure>

Your editing options will depend on how the application was deployed initially.

{% hint style="info" %}
Regardless of the deployment method, you can [edit an application's YAML directly](https://docs.portainer.io/2.33-lts/user/kubernetes/inspect#yaml-tab) through the YAML tab in Portainer Business Edition.
{% endhint %}

## Applications deployed from Git

If the application was [deployed from a Git repository](https://docs.portainer.io/2.33-lts/user/kubernetes/manifest#repository) you can redeploy it from the repository if needed. You will see the repository URL that the application was deployed from, the current version deployed, and the file used for the deployment.

<figure><img src="https://3850702872-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXI7douejaBgpZ6CP2zJf%2Fuploads%2Fgit-blob-b05ab0c8657daf6e2f447990a5b957e54a607b97%2F2.19-kubernetes-applications-edit-git-info.png?alt=media" alt=""><figcaption></figcaption></figure>

You can reconfigure GitOps updates, the repository reference and authentication here if needed. If a change window is enabled, information on it will appear here as well.

<figure><img src="https://3850702872-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXI7douejaBgpZ6CP2zJf%2Fuploads%2Fgit-blob-5271347e1f4c88e91958a2d8f271ffd5169fec84%2F2.20-kubernetes-applications-edit-gitops.png?alt=media" alt=""><figcaption></figcaption></figure>

If you want to redeploy, click **Pull and update application**. If you're simply updating the repository settings and don't need to redeploy, click **Save settings**.

## Applications deployed from the Web Editor

If the application was deployed from the Web Editor, you will be given the ability to edit the manifest manually.&#x20;

{% hint style="info" %}
You can search within the web editor at any time by pressing `Ctrl-F` (or `Cmd-F` on Mac).
{% endhint %}

<figure><img src="https://3850702872-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXI7douejaBgpZ6CP2zJf%2Fuploads%2Fgit-blob-8d8bd5338400c1740361614133269a0e872b8355%2F2.20-kubernetes-applications-edit-webeditor.png?alt=media" alt=""><figcaption></figcaption></figure>

Make the required changes then click **Update application**.

## Applications deployed from a form or Helm

When editing an application deployed from a form or Helm, you will be able to update the configuration using the same form. Refer to [adding a new application using a form](https://docs.portainer.io/2.33-lts/user/kubernetes/applications/add) for details.
