diff --git a/services/Lighttpd/application-lighttpd.yaml b/services/Lighttpd/application-lighttpd.yaml new file mode 100644 index 0000000..f4ed58c --- /dev/null +++ b/services/Lighttpd/application-lighttpd.yaml @@ -0,0 +1,17 @@ +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + name: lighttpd + namespace: argo-cd +spec: + destination: + namespace: lighttpd + server: https://kubernetes.default.svc + project: default + source: + path: services/Lighttpd + repoURL: https://code.spamasaurus.com/djpbessems/Kubernetes.K3s.installLog.git + targetRevision: HEAD + syncPolicy: + automated: + selfHeal: true diff --git a/services/Lighttpd/deployment-lighttpd.yaml b/services/Lighttpd/deployment-lighttpd.yaml index 8539f06..7dde77f 100644 --- a/services/Lighttpd/deployment-lighttpd.yaml +++ b/services/Lighttpd/deployment-lighttpd.yaml @@ -30,8 +30,6 @@ spec: subPath: .htpasswd - name: configmap-lighttpd-vhosts mountPath: /etc/lighttpd/vhosts.d - - name: flexvolsmb-lighttpd-data - mountPath: /data/scripts - name: flexvolsmb-lighttpd-websites mountPath: /var/www/ volumes: @@ -41,9 +39,6 @@ spec: - name: configmap-lighttpd-vhosts configMap: name: configmap-lighttpd-vhosts - - name: flexvolsmb-lighttpd-data - persistentVolumeClaim: - claimName: flexvolsmb-lighttpd-data - name: flexvolsmb-lighttpd-websites persistentVolumeClaim: claimName: flexvolsmb-lighttpd-websites diff --git a/services/Lighttpd/persistentvolume-flexvolsmb-lighttpd-data.yaml b/services/Lighttpd/persistentvolume-flexvolsmb-lighttpd-data.yaml deleted file mode 100644 index 408ca8b..0000000 --- a/services/Lighttpd/persistentvolume-flexvolsmb-lighttpd-data.yaml +++ /dev/null @@ -1,18 +0,0 @@ -apiVersion: v1 -kind: PersistentVolume -metadata: - name: flexvolsmb-lighttpd-data -spec: - capacity: - storage: 1Gi - accessModes: - - ReadWriteMany - storageClassName: flexvolsmb-lighttpd-data - flexVolume: - driver: mount/smb - secretRef: - name: flexvolsmb-credentials - options: - opts: file_mode=0777,dir_mode=0777,iocharset=utf8 - server: 192.168.154.225 - share: /K3s.Volumes/lighttpd/data diff --git a/services/Lighttpd/persistentvolume-flexvolsmb-lighttpd-websites.yaml b/services/Lighttpd/persistentvolume-flexvolsmb-lighttpd-websites.yaml index 6f0eb5a..c29a1c6 100644 --- a/services/Lighttpd/persistentvolume-flexvolsmb-lighttpd-websites.yaml +++ b/services/Lighttpd/persistentvolume-flexvolsmb-lighttpd-websites.yaml @@ -14,5 +14,5 @@ spec: name: flexvolsmb-credentials options: opts: file_mode=0777,dir_mode=0777,iocharset=utf8,nobrl - server: 192.168.154.225 + server: 192.168.154.195 share: /K3s.Volumes/lighttpd/websites diff --git a/services/Lighttpd/persistentvolumeclaim-flexvolsmb-lighttpd-data.yaml b/services/Lighttpd/persistentvolumeclaim-flexvolsmb-lighttpd-data.yaml deleted file mode 100644 index b8922ff..0000000 --- a/services/Lighttpd/persistentvolumeclaim-flexvolsmb-lighttpd-data.yaml +++ /dev/null @@ -1,12 +0,0 @@ -apiVersion: v1 -kind: PersistentVolumeClaim -metadata: - name: flexvolsmb-lighttpd-data - namespace: lighttpd -spec: - accessModes: - - ReadWriteMany - storageClassName: flexvolsmb-lighttpd-data - resources: - requests: - storage: 1Gi