Skip to content

test: appset image fields not respected#1611

Open
anandrkskd wants to merge 2 commits intoargoproj-labs:masterfrom
anandrkskd:add-appset-test
Open

test: appset image fields not respected#1611
anandrkskd wants to merge 2 commits intoargoproj-labs:masterfrom
anandrkskd:add-appset-test

Conversation

@anandrkskd
Copy link
Copy Markdown
Collaborator

What type of PR is this?

/kind chore
What does this PR do / why we need it:
This PR adds. Tests for bug appset image field not respected

Signed-off-by: Anand Kumar Singh <anandrkskd@gmail.com>
Signed-off-by: Anand Kumar Singh <anandrkskd@gmail.com>
Copy link
Copy Markdown
Collaborator

@svghadi svghadi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some nits.

name: example-argocd
labels:
example: basic
spec:
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you add a comment with what is expected here? Which image value will have high priority.

Comment on lines +1 to +6
apiVersion: argoproj.io/v1alpha1
kind: ArgoCD
metadata:
name: example-argocd
labels:
example: basic
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
apiVersion: argoproj.io/v1alpha1
kind: ArgoCD
metadata:
name: example-argocd
labels:
example: basic
apiVersion: argoproj.io/v1beta1
kind: ArgoCD
metadata:
name: example-argocd

Lets remove the label and use v1beta api.

Comment on lines +1 to +8
apiVersion: argoproj.io/v1alpha1
kind: ArgoCD
metadata:
name: example-argocd
labels:
example: basic
spec:

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
apiVersion: argoproj.io/v1alpha1
kind: ArgoCD
metadata:
name: example-argocd
labels:
example: basic
spec:
apiVersion: argoproj.io/v1beta1
kind: ArgoCD
metadata:
name: example-argocd
spec:

Same as previous.

@svghadi svghadi changed the title add tests for bug: appset image fields not respected test: appset image fields not respected Nov 28, 2024
@olivergondza
Copy link
Copy Markdown
Collaborator

@anandrkskd, still interested to contribute this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants