-
Notifications
You must be signed in to change notification settings - Fork 753
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add option to enable argo-rollout ui extension (#1554)
* feat: add option to enable argo-rollout ui extension Signed-off-by: saumeya <[email protected]> * review comments and fixes Signed-off-by: saumeya <[email protected]> * add unit test Signed-off-by: saumeya <[email protected]> * doc update and e2e test Signed-off-by: saumeya <[email protected]> * review comments Signed-off-by: saumeya <[email protected]> * fix Signed-off-by: saumeya <[email protected]> * review changes, e2e fix Signed-off-by: saumeya <[email protected]> * review changes Signed-off-by: saumeya <[email protected]> * fix Signed-off-by: saumeya <[email protected]> --------- Signed-off-by: saumeya <[email protected]>
- Loading branch information
Showing
15 changed files
with
313 additions
and
2 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
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
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
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,58 @@ | ||
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: rollout-extension | ||
image: quay.io/argoprojlabs/argocd-extension-installer:v0.0.8 | ||
env: | ||
- name: EXTENSION_URL | ||
value: https://github.com/argoproj-labs/rollout-extension/releases/download/v0.3.6/extension.tar | ||
volumeMounts: | ||
- name: extensions | ||
mountPath: /tmp/extensions/ | ||
volumes: | ||
- configMap: | ||
defaultMode: 420 | ||
name: argocd-ssh-known-hosts-cm | ||
name: ssh-known-hosts | ||
- configMap: | ||
defaultMode: 420 | ||
name: argocd-tls-certs-cm | ||
name: tls-certs | ||
- name: argocd-repo-server-tls | ||
secret: | ||
defaultMode: 420 | ||
optional: true | ||
secretName: argocd-repo-server-tls | ||
- name: argocd-operator-redis-tls | ||
secret: | ||
defaultMode: 420 | ||
optional: true | ||
secretName: argocd-operator-redis-tls | ||
- emptyDir: {} | ||
name: extensions | ||
containers: | ||
- name: argocd-server | ||
volumeMounts: | ||
- mountPath: /app/config/ssh | ||
name: ssh-known-hosts | ||
- mountPath: /app/config/tls | ||
name: tls-certs | ||
- mountPath: /app/config/server/tls | ||
name: argocd-repo-server-tls | ||
- mountPath: /app/config/server/tls/redis | ||
name: argocd-operator-redis-tls | ||
- mountPath: /tmp/extensions/ | ||
name: extensions |
7 changes: 7 additions & 0 deletions
7
tests/k8s/1-044_validate_rollout_extension/01-enable-rollout-ui.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,7 @@ | ||
apiVersion: argoproj.io/v1beta1 | ||
kind: ArgoCD | ||
metadata: | ||
name: argocd | ||
spec: | ||
server: | ||
enableRolloutsUI: true |
7 changes: 7 additions & 0 deletions
7
tests/k8s/1-044_validate_rollout_extension/02-disable-rollout-ui.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,7 @@ | ||
apiVersion: argoproj.io/v1beta1 | ||
kind: ArgoCD | ||
metadata: | ||
name: argocd | ||
spec: | ||
server: | ||
enableRolloutsUI: false |
Oops, something went wrong.