48 lines
1.7 KiB
YAML
48 lines
1.7 KiB
YAML
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: argocd-server
|
|
annotations:
|
|
glance/url: https://argocd.olb42.com
|
|
glance/description: CI Deployment
|
|
glance/icon: di:argo-cd
|
|
glance/id: argocd
|
|
spec:
|
|
template:
|
|
spec:
|
|
initContainers:
|
|
- name: extension-pod-files
|
|
image: quay.io/argoprojlabs/argocd-extension-installer:v0.0.8
|
|
env:
|
|
- name: EXTENSION_URL
|
|
value: http://argocd-extension-pod-files.argocd/ui/extension.tar.gz
|
|
volumeMounts:
|
|
- name: extensions
|
|
mountPath: /tmp/extensions/
|
|
securityContext:
|
|
runAsUser: 1000
|
|
allowPrivilegeEscalation: false
|
|
# ArgoPlane UI extension bundles. Copies only the enabled bundles into
|
|
# the shared /tmp/extensions volume. "argoplane" is the required shell
|
|
# bundle that renders the feature views (Metrics/Networking/Logs/Events)
|
|
# into the ArgoCD UI — without it the feature bundles register into a
|
|
# window event that nothing consumes, so no tabs appear. Keep the
|
|
# feature names in sync with the enabled backends in apps/argoplane.
|
|
- name: argoplane-extensions
|
|
image: ghcr.io/natrontech/argoplane-ui-extensions:1.4.1
|
|
env:
|
|
- name: ENABLED_EXTENSIONS
|
|
value: "argoplane,metrics,networking,logs,events"
|
|
volumeMounts:
|
|
- name: extensions
|
|
mountPath: /tmp/extensions/
|
|
securityContext:
|
|
allowPrivilegeEscalation: false
|
|
containers:
|
|
- name: argocd-server
|
|
volumeMounts:
|
|
- name: extensions
|
|
mountPath: /tmp/extensions/
|
|
volumes:
|
|
- name: extensions
|
|
emptyDir: {} |