diff --git a/README.md b/README.md index f9e90778..085d85f4 100644 --- a/README.md +++ b/README.md @@ -22,7 +22,7 @@ supported yet (and maybe never will). Read [the documentation](https://argocd-image-updater.readthedocs.io/en/stable/) for more information on how to setup and run Argo CD Image Updater and to get -known to it's features and limitations. +known to its features and limitations. Above URL points to the documentation for the current release. If you are interested in documentation of upcoming features, check out the diff --git a/docs/basics/update.md b/docs/basics/update.md index ab430f71..cc1562c9 100644 --- a/docs/basics/update.md +++ b/docs/basics/update.md @@ -14,7 +14,7 @@ The workflow of Argo CD Image Updater can be described as follows: whose name match a given pattern, or match a given label. * It then goes through the list of `Applications` found and inspects each - for the the annotation `argocd-image-updater.argoproj.io/image-list`. This + for the annotation `argocd-image-updater.argoproj.io/image-list`. This annotation holds a list of image names that should be updated, and is a mandatory annotation for Argo CD Image Updater to indicate it should process this `Application`. Read more about the syntax expected in this diff --git a/docs/configuration/images.md b/docs/configuration/images.md index 7487f43c..8c195e8e 100644 --- a/docs/configuration/images.md +++ b/docs/configuration/images.md @@ -32,7 +32,7 @@ following: argocd-image-updater.argoproj.io/image-list: nginx ``` -The above example would specify to update the image `nginx` to it's most recent +The above example would specify to update the image `nginx` to its most recent version found in the container registry, without taking any version constraints into consideration. diff --git a/docs/install/installation.md b/docs/install/installation.md index 65c6d749..72986243 100644 --- a/docs/install/installation.md +++ b/docs/install/installation.md @@ -165,11 +165,11 @@ kubectl -n argocd-image-updater rollout restart deployment argocd-image-updater When installed from the manifests into a Kubernetes cluster, the Argo CD Image Updater reads the token required for accessing Argo CD API from an environment -variable named `ARGOCD_TOKEN`, which is set from a a field named +variable named `ARGOCD_TOKEN`, which is set from a field named `argocd.token` in a secret named `argocd-image-updater-secret`. The value for `argocd.token` should be set to the *base64 encoded* value of the -access token you have generated above. As a short-cut, you can use generate the +access token you have generated above. As a short-cut, you can use generate secret with `kubectl` and apply it over the existing resource: ```shell diff --git a/pkg/argocd/git.go b/pkg/argocd/git.go index 4cb119ae..53cc6b94 100644 --- a/pkg/argocd/git.go +++ b/pkg/argocd/git.go @@ -258,7 +258,7 @@ func commitChangesGit(app *v1alpha1.Application, wbc *WriteBackConfig, changeLis if wbc.GitCommitMessage != "" { cm, err := os.CreateTemp("", "image-updater-commit-msg") if err != nil { - return fmt.Errorf("cold not create temp file: %v", err) + return fmt.Errorf("could not create temp file: %v", err) } logCtx.Debugf("Writing commit message to %s", cm.Name()) err = os.WriteFile(cm.Name(), []byte(wbc.GitCommitMessage), 0600)