apiVersion: argoproj.io/v1alpha1
kind: ArgoCD
metadata:
  annotations:
    kubectl.kubernetes.io/last-applied-configuration: |
      {"apiVersion":"argoproj.io/v1alpha1","kind":"ArgoCD","metadata":{"annotations":{},"name":"openshift-gitops","namespace":"openshift-gitops"},"spec":{"dex":{"openShiftOAuth":true,"resources":{"limits":{"cpu":"500m","memory":"256Mi"},"requests":{"cpu":"250m","memory":"128Mi"}}},"grafana":{"enabled":true,"route":{"enabled":true}},"ha":{"enabled":true,"resources":{"limits":{"cpu":"500m","memory":"256Mi"},"requests":{"cpu":"250m","memory":"128Mi"}}},"initialSSHKnownHosts":{"excludedefaulthosts":false,"keys":"[git.sicpa.com]:7999 ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDYuLw2IQR3a/7c4PiMbXAA1k544XGQ+RWAEU/fS3B5Lhbgd3Vmij2F0IC7YzOe2KG1TydwYCL40gKbNhiG5/PGzdmR+p4qOLB74FDy/Gb8G8mjN4vZSkgTcHcfQqGeqqPcgzETYfA/+FsYMfMBRJRs5bmjCD14i1r/STCH/GcNywe6YiHEdnNPu52BeKoORgzo70bWq/OrkS4gCyMeIbabRjk9mcD3BtS2MuvfYjgt/vhWFbxGtDbkBw+mJ5Refh0xWE2q6rh9rrlN0G9VIwz8+dz389q5yGGVluwwvy7/TgH4bWikNqb9mHBF9gh3qFeFn8aHbmYV/LMIIoXrJ7Wp\n"},"prometheus":{"enabled":true,"route":{"enabled":true}},"rbac":{"defaultPolicy":"role:app-admin","policy":"p, role:app-admin, applications, *, */*, allow\ng, system:cluster-admins, role:admin\n","scopes":"[groups]"},"repo":{"resources":{"limits":{"cpu":"1000m","memory":"1024Mi"},"requests":{"cpu":"250m","memory":"256Mi"}}},"repositoryCredentials":"- sshPrivateKeySecret:\n    key: sshPrivateKey\n    name: gitops-repo\n  type: git\n  url: \"ssh://git@git.sicpa.com:7999/glc/openshift-hubs.git\"\n  insecure: true\n- sshPrivateKeySecret:\n    key: sshPrivateKey\n    name: gitops-repo\n  type: git\n  url: \"ssh://git@git.sicpa.com:7999/glc/openshift-envs.git\"\n  insecure: true\n","resourceCustomizations":"argoproj.io/Application:\n  health.lua: |\n    hs = {}\n    hs.status = \"Progressing\"\n    hs.message = \"\"\n    if obj.status ~= nil then\n      if obj.status.health ~= nil then\n        hs.status = obj.status.health.status\n        if obj.status.health.message ~= nil then\n          hs.message = obj.status.health.message\n        end\n      end\n    end\n    return hs\n","server":{"resources":{"limits":{"cpu":"500m","memory":"500Mi"},"requests":{"cpu":"200m","memory":"200Mi"}},"route":{"enabled":true,"tls":{"insecureEdgeTerminationPolicy":"Redirect","termination":"edge"}}}}}
  creationTimestamp: "2023-02-03T11:06:38Z"
  finalizers:
  - argoproj.io/finalizer
  generation: 4
  name: openshift-gitops
  namespace: openshift-gitops
  ownerReferences:
  - apiVersion: pipelines.openshift.io/v1alpha1
    blockOwnerDeletion: true
    controller: true
    kind: GitopsService
    name: cluster
    uid: 9989283a-b1a6-4995-b26f-d5a9daab9152
  resourceVersion: "11856181"
  uid: 608db742-a556-48dd-b20d-c5e0095a6ad1
spec:
  applicationSet:
    resources:
      limits:
        cpu: "2"
        memory: 1Gi
      requests:
        cpu: 250m
        memory: 512Mi
  controller:
    processors: {}
    resources:
      limits:
        cpu: "2"
        memory: 2Gi
      requests:
        cpu: 250m
        memory: 1Gi
    sharding: {}
  dex:
    openShiftOAuth: true
    resources:
      limits:
        cpu: 500m
        memory: 256Mi
      requests:
        cpu: 250m
        memory: 128Mi
  grafana:
    enabled: true
    ingress:
      enabled: false
    resources:
      limits:
        cpu: 500m
        memory: 256Mi
      requests:
        cpu: 250m
        memory: 128Mi
    route:
      enabled: true
  ha:
    enabled: true
    resources:
      limits:
        cpu: 500m
        memory: 256Mi
      requests:
        cpu: 250m
        memory: 128Mi
  initialSSHKnownHosts:
    keys: |
      [git.sicpa.com]:7999 ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDYuLw2IQR3a/7c4PiMbXAA1k544XGQ+RWAEU/fS3B5Lhbgd3Vmij2F0IC7YzOe2KG1TydwYCL40gKbNhiG5/PGzdmR+p4qOLB74FDy/Gb8G8mjN4vZSkgTcHcfQqGeqqPcgzETYfA/+FsYMfMBRJRs5bmjCD14i1r/STCH/GcNywe6YiHEdnNPu52BeKoORgzo70bWq/OrkS4gCyMeIbabRjk9mcD3BtS2MuvfYjgt/vhWFbxGtDbkBw+mJ5Refh0xWE2q6rh9rrlN0G9VIwz8+dz389q5yGGVluwwvy7/TgH4bWikNqb9mHBF9gh3qFeFn8aHbmYV/LMIIoXrJ7Wp
  notifications:
    enabled: false
  prometheus:
    enabled: true
    ingress:
      enabled: false
    route:
      enabled: true
  rbac:
    defaultPolicy: role:app-admin
    policy: |
      p, role:app-admin, applications, *, */*, allow
      g, system:cluster-admins, role:admin
    scopes: '[groups]'
  redis:
    resources:
      limits:
        cpu: 500m
        memory: 256Mi
      requests:
        cpu: 250m
        memory: 128Mi
  repo:
    resources:
      limits:
        cpu: "1"
        memory: 1Gi
      requests:
        cpu: 250m
        memory: 256Mi
  repositoryCredentials: |
    - sshPrivateKeySecret:
        key: sshPrivateKey
        name: gitops-repo
      type: git
      url: "ssh://git@git.sicpa.com:7999/glc/openshift-hubs.git"
      insecure: true
    - sshPrivateKeySecret:
        key: sshPrivateKey
        name: gitops-repo
      type: git
      url: "ssh://git@git.sicpa.com:7999/glc/openshift-envs.git"
      insecure: true
  resourceCustomizations: |
    argoproj.io/Application:
      health.lua: |
        hs = {}
        hs.status = "Progressing"
        hs.message = ""
        if obj.status ~= nil then
          if obj.status.health ~= nil then
            hs.status = obj.status.health.status
            if obj.status.health.message ~= nil then
              hs.message = obj.status.health.message
            end
          end
        end
        return hs
  resourceExclusions: |
    - apiGroups:
      - tekton.dev
      clusters:
      - '*'
      kinds:
      - TaskRun
      - PipelineRun
  server:
    autoscale:
      enabled: false
    grpc:
      ingress:
        enabled: false
    ingress:
      enabled: false
    resources:
      limits:
        cpu: 500m
        memory: 500Mi
      requests:
        cpu: 200m
        memory: 200Mi
    route:
      enabled: true
      tls:
        insecureEdgeTerminationPolicy: Redirect
        termination: edge
    service:
      type: ""
  tls:
    ca: {}
status:
  applicationController: Running
  dex: Running
  host: openshift-gitops-server-openshift-gitops.apps.ipaasms2.sicpa.io
  phase: Available
  redis: Unknown
  repo: Running
  server: Running
  ssoConfig: Success
