diff --git a/k8s/deployment.yaml b/k8s/deployment.yaml index 217c0754..cdb1d4e4 100644 --- a/k8s/deployment.yaml +++ b/k8s/deployment.yaml @@ -32,7 +32,7 @@ spec: type: RuntimeDefault initContainers: - name: migrate - image: git.mcintire.me/graham/towerops-web:main-1777403311-23304e1 # {"$imagepolicy": "flux-system:towerops-web"} + image: git.mcintire.me/graham/towerops-web:main-1777403311-23304e1 imagePullPolicy: IfNotPresent command: ["/app/bin/migrate"] securityContext: @@ -100,7 +100,7 @@ spec: cpu: "500m" containers: - name: towerops - image: git.mcintire.me/graham/towerops-web:main-1777403311-23304e1 # {"$imagepolicy": "flux-system:towerops-web"} + image: git.mcintire.me/graham/towerops-web:main-1777403311-23304e1 imagePullPolicy: IfNotPresent securityContext: allowPrivilegeEscalation: false diff --git a/k8s/flux.yaml b/k8s/flux.yaml deleted file mode 100644 index 7188637d..00000000 --- a/k8s/flux.yaml +++ /dev/null @@ -1,27 +0,0 @@ ---- -apiVersion: source.toolkit.fluxcd.io/v1 -kind: GitRepository -metadata: - name: towerops-web - namespace: flux-system -spec: - interval: 1m - url: https://git.mcintire.me/graham/towerops-web.git - ref: - branch: main - secretRef: - name: forgejo-git-credentials ---- -apiVersion: kustomize.toolkit.fluxcd.io/v1 -kind: Kustomization -metadata: - name: towerops-app - namespace: flux-system -spec: - interval: 5m - sourceRef: - kind: GitRepository - name: towerops-web - path: ./k8s - prune: true - targetNamespace: towerops