[Git][root/k8s/fluxcd][main] feat(squid): add squid

yyvf22 pushed to branch main at Root / Kubernetes / FluxCD Commits: 9c2f3737 by yyvf at 2025-08-13T11:48:43-03:00 feat(squid): add squid - - - - - 6 changed files: - + infrastructure/base/squid/deploy.yaml - + infrastructure/base/squid/kustomization.yaml - + infrastructure/base/squid/ns.yaml - + infrastructure/base/squid/pvc.yaml - + infrastructure/base/squid/svc.yaml - infrastructure/stage/kustomization.yaml Changes: ===================================== infrastructure/base/squid/deploy.yaml ===================================== @@ -0,0 +1,29 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + name: squid + namespace: squid +spec: + replicas: 1 + selector: + matchLabels: + app: squid + template: + metadata: + labels: + app: squid + spec: + containers: + - name: squid + image: harbor.c3sl.ufpr.br/root/squid:latest + ports: + - containerPort: 3128 + name: squid + protocol: TCP + volumeMounts: + - name: squid-data + mountPath: /var/spool/squid + volumes: + - name: squid-data + persistentVolumeClaim: + claimName: squid-data ===================================== infrastructure/base/squid/kustomization.yaml ===================================== @@ -0,0 +1,9 @@ +apiVersion: kustomize.config.k8s.io/v1beta1 +kind: Kustomization +metadata: + name: squid +resources: + - ns.yaml + - deploy.yaml + - svc.yaml + - pvc.yaml ===================================== infrastructure/base/squid/ns.yaml ===================================== @@ -0,0 +1,4 @@ +apiVersion: v1 +kind: Namespace +metadata: + name: squid ===================================== infrastructure/base/squid/pvc.yaml ===================================== @@ -0,0 +1,11 @@ +apiVersion: v1 +kind: PersistentVolumeClaim +metadata: + name: squid-data + namespace: squid +spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 500M ===================================== infrastructure/base/squid/svc.yaml ===================================== @@ -0,0 +1,12 @@ +apiVersion: v1 +kind: Service +metadata: + name: squid + namespace: squid + labels: + app: squid +spec: + ports: + - port: 3128 + selector: + app: squid ===================================== infrastructure/stage/kustomization.yaml ===================================== @@ -12,6 +12,7 @@ resources: - ../base/keycloak - ./keycloak/ing.yaml - ../base/etcd-backup + - ../base/squid patches: - path: ./openbao/helmrelease.yaml target: View it on GitLab: https://gitlab.c3sl.ufpr.br/root/k8s/fluxcd/-/commit/9c2f37379d326cce3796d0f... -- View it on GitLab: https://gitlab.c3sl.ufpr.br/root/k8s/fluxcd/-/commit/9c2f37379d326cce3796d0f... You're receiving this email because of your account on gitlab.c3sl.ufpr.br.
participantes (1)
-
yyvf22 (@yyvf22)