Skip to content

Apply static resources without updating cke.cybozu.com/revision manually #464

@ysksuzuki

Description

@ysksuzuki

What

CKE updates static resources if cke.cybozu.com/revision is updated, so the revision needs to be updated manually when the resource is edited.
This is error-prone, in fact, the failure due to the revision update missing has occurred.

How

Detect differences of YAML files using equality.DeepDerivative, and if there're differences then server-side apply.

Checklist

  • Finish implentation of the issue
  • Test all functions
  • Have enough logs to trace activities
  • Notify developers of necessary actions

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions