cloud-pak-gitops / community

Community for CloudPakOps
Apache License 2.0
0 stars 3 forks source link

Using resource locker operator to support partial resource sync #20

Open morningspace opened 2 years ago

morningspace commented 2 years ago

Argo CD does not support partial resource sync at the moment, i.e.: patch resource instead of create or apply resource. By doing patch, a lot of imperative logic that is currently implemented as job can be turned into declarative way. This can be done by using resource-locker-operator, a very useful add-on. As an example, the job used to patch image pull secret in CP4WAIOps gitops repo can be replaced by using this new approach.