diff --git a/argocd/templates/nexus-repository-manager.yaml b/argocd/templates/nexus-repository-manager.yaml deleted file mode 100644 index 3801323..0000000 --- a/argocd/templates/nexus-repository-manager.yaml +++ /dev/null @@ -1,21 +0,0 @@ -#apiVersion: argoproj.io/v1alpha1 -#kind: Application -#metadata: -# name: nexus-repository-manager -# namespace: argocd -#spec: -# project: default -# source: -# repoURL: https://gitlab.com/developerdurp/homelab.git -# targetRevision: main -# path: nexus-repository-manager -# destination: -# namespace: nexus-repository-manager -# name: in-cluster -# syncPolicy: -# automated: -# prune: true -# selfHeal: true -# syncOptions: -# - CreateNamespace=true - diff --git a/nexus-repository-manager/Chart.yaml b/nexus-repository-manager/Chart.yaml deleted file mode 100644 index d9ab6e5..0000000 --- a/nexus-repository-manager/Chart.yaml +++ /dev/null @@ -1,11 +0,0 @@ -apiVersion: v2 -name: nexus-repository-manager -description: A Helm chart for Kubernetes -type: application -version: 0.1.0 -appVersion: "1.16.0" - -dependencies: -- name: nexus-repository-manager - repository: https://sonatype.github.io/helm3-charts/ - version: 42.0.1 diff --git a/nexus-repository-manager/templates/nexus-pv.yaml b/nexus-repository-manager/templates/nexus-pv.yaml deleted file mode 100644 index 7b8f76e..0000000 --- a/nexus-repository-manager/templates/nexus-pv.yaml +++ /dev/null @@ -1,25 +0,0 @@ -#apiVersion: v1 -#kind: PersistentVolume -#metadata: -# annotations: -# pv.kubernetes.io/provisioned-by: durp.info/nfs -# finalizers: -# - kubernetes.io/pv-protection -# name: nexus-pv -#spec: -# accessModes: -# - ReadWriteMany -# capacity: -# storage: 20Gi -# claimRef: -# apiVersion: v1 -# kind: PersistentVolumeClaim -# name: nexus-pvc -# namespace: nexus-repository-manager -# nfs: -# path: /mnt/user/k3s/nexus -# server: 192.168.20.253 -# persistentVolumeReclaimPolicy: Retain -# storageClassName: nfs-storage -# volumeMode: Filesystem -# \ No newline at end of file diff --git a/nexus-repository-manager/templates/nexus-pvc.yaml b/nexus-repository-manager/templates/nexus-pvc.yaml deleted file mode 100644 index aedb524..0000000 --- a/nexus-repository-manager/templates/nexus-pvc.yaml +++ /dev/null @@ -1,18 +0,0 @@ -#apiVersion: v1 -#kind: PersistentVolumeClaim -#metadata: -# labels: -# app.kubernetes.io/component: app -# app.kubernetes.io/instance: nexus -# app.kubernetes.io/managed-by: Helm -# app.kubernetes.io/name: nexus -# helm.sh/chart: nexus-2.14.4 -# name: nexus-pvc -# namespace: nexus-repository-manager -#spec: -# accessModes: -# - ReadWriteMany -# resources: -# requests: -# storage: 20Gi -# storageClassName: nfs-storage \ No newline at end of file diff --git a/nexus-repository-manager/values.yaml b/nexus-repository-manager/values.yaml deleted file mode 100644 index d8004f9..0000000 --- a/nexus-repository-manager/values.yaml +++ /dev/null @@ -1,167 +0,0 @@ -nexus-repository-manager: - - deploymentStrategy: Recreate - image: - repository: sonatype/nexus3 - tag: 3.48.0 - pullPolicy: IfNotPresent - - nexus: - docker: - enabled: true - registries: - - host: docker.durp.info - port: 5000 - secretName: registry-secret - env: - # minimum recommended memory settings for a small, person instance from - # https://help.sonatype.com/repomanager3/product-information/system-requirements - - name: INSTALL4J_ADD_VM_PARAMS - value: |- - -Xms2703M -Xmx2703M - -XX:MaxDirectMemorySize=2703M - -XX:+UnlockExperimentalVMOptions - -XX:+UseCGroupMemoryLimitForHeap - -Djava.util.prefs.userRoot=/nexus-data/javaprefs - - name: NEXUS_SECURITY_RANDOMPASSWORD - value: "true" - - properties: - override: false - data: - nexus.scripts.allowCreation: true - # See this article for ldap configuratioon options https://support.sonatype.com/hc/en-us/articles/216597138-Setting-Advanced-LDAP-Connection-Properties-in-Nexus-Repository-Manager - # nexus.ldap.env.java.naming.security.authentication: simple - # nodeSelector: - # cloud.google.com/gke-nodepool: default-pool - resources: - # minimum recommended memory settings for a small, person instance from - # https://help.sonatype.com/repomanager3/product-information/system-requirements - # requests: - # cpu: 4 - # memory: 8Gi - # limits: - # cpu: 4 - # memory: 8Gi - - # The ports should only be changed if the nexus image uses a different port - nexusPort: 8081 - - # Default the pods UID and GID to match the nexus3 container. - # Customize or remove these values from the securityContext as appropriate for - # your deployment environment. - securityContext: - runAsUser: 200 - runAsGroup: 200 - fsGroup: 200 - podAnnotations: {} - livenessProbe: - initialDelaySeconds: 30 - periodSeconds: 30 - failureThreshold: 6 - timeoutSeconds: 10 - path: / - readinessProbe: - initialDelaySeconds: 30 - periodSeconds: 30 - failureThreshold: 6 - timeoutSeconds: 10 - path: / - # hostAliases allows the modification of the hosts file inside a container - hostAliases: [] - # - ip: "192.168.1.10" - # hostnames: - # - "example.com" - # - "www.example.com" - - nameOverride: "" - fullnameOverride: "" - - deployment: - # # Add annotations in deployment to enhance deployment configurations - annotations: {} - # # Add init containers. e.g. to be used to give specific permissions for nexus-data. - # # Add your own init container or uncomment and modify the given example. - initContainers: - # - name: fmp-volume-permission - # image: busybox - # imagePullPolicy: IfNotPresent - # command: ['chown','-R', '200', '/nexus-data'] - # volumeMounts: - # - name: nexus-data - # mountPath: /nexus-data - # Uncomment and modify this to run a command after starting the nexus container. - postStart: - command: # '["/bin/sh", "-c", "ls"]' - preStart: - command: # '["/bin/rm", "-f", "/path/to/lockfile"]' - terminationGracePeriodSeconds: 120 - additionalContainers: - additionalVolumes: - additionalVolumeMounts: - - ingress: - enabled: true - ingressClassName: nginx - annotations: - nginx.ingress.kubernetes.io/proxy-body-size: "0" - cert-manager.io/cluster-issuer: letsencrypt-production - hostPath: / - hostRepo: nexus.durp.info - tls: - - secretName: nexus.durp.info - hosts: - - nexus.durp.info - - - service: - name: nexus3 - enabled: true - labels: {} - annotations: {} - type: ClusterIP - - route: - enabled: false - name: docker - portName: docker - labels: - annotations: - # path: /docker - - nexusProxyRoute: - enabled: false - labels: - annotations: - # path: /nexus - - persistence: - enabled: true - accessMode: ReadWriteOnce - storageClass: nfs-storage - storageSize: 60Gi - - tolerations: [] - - # Enable configmap and add data in configmap - config: - enabled: false - mountPath: /sonatype-nexus-conf - data: [] - - # # To use an additional secret, set enable to true and add data - secret: - enabled: false - mountPath: /etc/secret-volume - readOnly: true - data: [] - - serviceAccount: - # Specifies whether a service account should be created - create: true - # Annotations to add to the service account - annotations: {} - # The name of the service account to use. - # If not set and create is true, a name is generated using the fullname template - name: "" -