-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Avoid Redundant SSA for Manifest Patching (#1620)
* feat: avoid redundant ssa for manifest patching * refactor: linting issue * test: add unit test * fix: integration tests * refactor: unwrapped error * fix: state flickering * chore: add linter exception * chore: remove linter exception * fix: null pointer ref in case of mandatory module * chore: Add helpful comment Co-authored-by: Christoph Schwägerl <[email protected]> * feat: add additional diff check in NeedToUpdate() * test: diff check in unit test * refactor: lint * refactor: remove manifest diff check * fix: module template integration test * test: add unit test * Revert "test: add unit test" This reverts commit a5a9102. * Revert "fix: module template integration test" This reverts commit 9ed7e26. * fix integration test * chore: retrigger * refactor: gofunmpt * docs: Apply suggestions from code review Co-authored-by: Małgorzata Świeca <[email protected]> --------- Co-authored-by: Christoph Schwägerl <[email protected]> Co-authored-by: Christoph Schwägerl <[email protected]> Co-authored-by: Małgorzata Świeca <[email protected]>
- Loading branch information
1 parent
dfd484b
commit 136476d
Showing
6 changed files
with
206 additions
and
43 deletions.
There are no files selected for viewing
56 changes: 56 additions & 0 deletions
56
...s/component-integration-installed/operator_v1beta2_moduletemplate_kcp-module_updated.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
apiVersion: operator.kyma-project.io/v1beta2 | ||
kind: ModuleTemplate | ||
metadata: | ||
name: moduletemplate-template-operator | ||
namespace: default | ||
labels: | ||
"operator.kyma-project.io/module-name": "template-operator" | ||
spec: | ||
channel: regular | ||
data: | ||
apiVersion: operator.kyma-project.io/v1alpha1 | ||
kind: Sample | ||
metadata: | ||
name: sample-yaml | ||
spec: | ||
initKey: valueUpdated | ||
resourceFilePath: "./module-data/yaml" | ||
descriptor: | ||
component: | ||
componentReferences: [] | ||
name: kyma-project.io/template-operator | ||
provider: internal | ||
repositoryContexts: | ||
- baseUrl: registry.docker.io/kyma-project/sap-kyma-jellyfish-dev/template-operator | ||
componentNameMapping: urlPath | ||
type: ociRegistry | ||
resources: | ||
- access: | ||
digest: sha256:db86408caca4c94250d8291aa79655b84146f9cc45e0da49f05a52b3722d74a0 | ||
type: localOciBlob | ||
name: config | ||
relation: local | ||
type: yaml | ||
version: v1.7.2 | ||
- access: | ||
digest: sha256:1735cfa45bf07b63427c8e11717278f8847e352a66af7633611db902386d18ed | ||
type: localOciBlob | ||
name: raw-manifest | ||
relation: local | ||
type: yaml | ||
version: v1.7.2 | ||
sources: | ||
- access: | ||
commit: 4e4b9d47cb655ca23e5c706462485ff7605e8d71 | ||
repoUrl: github.com/kyma-project/template-operator | ||
type: gitHub | ||
labels: | ||
- name: git.kyma-project.io/ref | ||
value: refs/heads/main | ||
version: v1 | ||
name: module-sources | ||
type: git | ||
version: v1.7.2 | ||
version: v1.7.2 | ||
meta: | ||
schemaVersion: v2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters