-
Notifications
You must be signed in to change notification settings - Fork 312
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add support for sidecar container in controller and server
Signed-off-by: iam-veeramalla <[email protected]>
- Loading branch information
1 parent
8e3e339
commit f38de2c
Showing
14 changed files
with
32,252 additions
and
14,868 deletions.
There are no files selected for viewing
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
Large diffs are not rendered by default.
Oops, something went wrong.
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
34,704 changes: 21,654 additions & 13,050 deletions
34,704
config/crd/bases/argoproj.io_argocds.yaml
Large diffs are not rendered by default.
Oops, something went wrong.
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
23 changes: 23 additions & 0 deletions
23
test/openshift/e2e/parallel/1-106_validate_appcontroller_initcontainers/01-assert.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,23 @@ | ||
apiVersion: argoproj.io/v1beta1 | ||
kind: ArgoCD | ||
metadata: | ||
name: argocd | ||
--- | ||
apiVersion: v1 | ||
kind: Pod | ||
metadata: | ||
name: argocd-application-controller-0 | ||
spec: | ||
initContainers: | ||
- name: argocd-init | ||
image: nginx:latest | ||
imagePullPolicy: Always | ||
resources: | ||
limits: | ||
cpu: 50m | ||
memory: 64Mi | ||
requests: | ||
cpu: 10m | ||
memory: 32Mi | ||
containers: | ||
- name: argocd-application-controller |
17 changes: 17 additions & 0 deletions
17
test/openshift/e2e/parallel/1-106_validate_appcontroller_initcontainers/01-install.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,17 @@ | ||
apiVersion: argoproj.io/v1beta1 | ||
kind: ArgoCD | ||
metadata: | ||
name: argocd | ||
spec: | ||
controller: | ||
initContainers: | ||
- name: argocd-init | ||
image: nginx:latest | ||
imagePullPolicy: Always | ||
resources: | ||
limits: | ||
cpu: 50m | ||
memory: 64Mi | ||
requests: | ||
cpu: 10m | ||
memory: 32Mi |
28 changes: 28 additions & 0 deletions
28
test/openshift/e2e/parallel/1-107_validate_server_initcontainers/01-assert.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,28 @@ | ||
apiVersion: argoproj.io/v1beta1 | ||
kind: ArgoCD | ||
metadata: | ||
name: argocd | ||
--- | ||
apiVersion: apps/v1 | ||
kind: Deployment | ||
metadata: | ||
name: argocd-server | ||
spec: | ||
selector: | ||
matchLabels: | ||
app.kubernetes.io/name: argocd-server | ||
template: | ||
spec: | ||
initContainers: | ||
- name: argocd-init | ||
image: nginx:latest | ||
imagePullPolicy: Always | ||
resources: | ||
limits: | ||
cpu: 50m | ||
memory: 64Mi | ||
requests: | ||
cpu: 10m | ||
memory: 32Mi | ||
containers: | ||
- name: argocd-server |
17 changes: 17 additions & 0 deletions
17
test/openshift/e2e/parallel/1-107_validate_server_initcontainers/01-install.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,17 @@ | ||
apiVersion: argoproj.io/v1beta1 | ||
kind: ArgoCD | ||
metadata: | ||
name: argocd | ||
spec: | ||
server: | ||
initContainers: | ||
- name: argocd-init | ||
image: nginx:latest | ||
imagePullPolicy: Always | ||
resources: | ||
limits: | ||
cpu: 50m | ||
memory: 64Mi | ||
requests: | ||
cpu: 10m | ||
memory: 32Mi |
21 changes: 21 additions & 0 deletions
21
test/openshift/e2e/parallel/1-108_validate_appcontroller_sidecar/01-assert.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,21 @@ | ||
apiVersion: argoproj.io/v1beta1 | ||
kind: ArgoCD | ||
metadata: | ||
name: argocd | ||
--- | ||
apiVersion: v1 | ||
kind: Pod | ||
metadata: | ||
name: argocd-application-controller-0 | ||
spec: | ||
containers: | ||
- name: argocd-application-controller | ||
- name: sidecar | ||
image: busybox | ||
resources: | ||
limits: | ||
cpu: 50m | ||
memory: 64Mi | ||
requests: | ||
cpu: 10m | ||
memory: 32Mi |
16 changes: 16 additions & 0 deletions
16
test/openshift/e2e/parallel/1-108_validate_appcontroller_sidecar/01-install.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,16 @@ | ||
apiVersion: argoproj.io/v1beta1 | ||
kind: ArgoCD | ||
metadata: | ||
name: argocd | ||
spec: | ||
controller: | ||
sidecarContainers: | ||
- name: sidecar | ||
image: busybox | ||
resources: | ||
limits: | ||
cpu: 50m | ||
memory: 64Mi | ||
requests: | ||
cpu: 10m | ||
memory: 32Mi |
26 changes: 26 additions & 0 deletions
26
test/openshift/e2e/parallel/1-109_validate_server_sidecar/01-assert.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,26 @@ | ||
apiVersion: argoproj.io/v1beta1 | ||
kind: ArgoCD | ||
metadata: | ||
name: argocd | ||
--- | ||
apiVersion: apps/v1 | ||
kind: Deployment | ||
metadata: | ||
name: argocd-server | ||
spec: | ||
selector: | ||
matchLabels: | ||
app.kubernetes.io/name: argocd-server | ||
template: | ||
spec: | ||
containers: | ||
- name: argocd-server | ||
- name: sidecar | ||
image: busybox | ||
resources: | ||
limits: | ||
cpu: 50m | ||
memory: 64Mi | ||
requests: | ||
cpu: 10m | ||
memory: 32Mi |
16 changes: 16 additions & 0 deletions
16
test/openshift/e2e/parallel/1-109_validate_server_sidecar/01-install.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,16 @@ | ||
apiVersion: argoproj.io/v1beta1 | ||
kind: ArgoCD | ||
metadata: | ||
name: argocd | ||
spec: | ||
server: | ||
sidecarContainers: | ||
- name: sidecar | ||
image: busybox | ||
resources: | ||
limits: | ||
cpu: 50m | ||
memory: 64Mi | ||
requests: | ||
cpu: 10m | ||
memory: 32Mi |