diff --git a/api/general-api/kustomization.yaml b/api/general-api/kustomization.yaml deleted file mode 100644 index 9054b36..0000000 --- a/api/general-api/kustomization.yaml +++ /dev/null @@ -1,9 +0,0 @@ -apiVersion: kustomize.config.k8s.io/v1beta1 -kind: Kustomization -resources: - - general-api-deployment.yaml -images: - - name: git.clortox.com/tyler/general-api - newName: git.clortox.com/tyler/general-api - newTag: "1.0.10" # This tag will be updated by Flux. - diff --git a/base/api/general-api-kustomization.yaml b/base/api/general-api-kustomization.yaml deleted file mode 100644 index 3ad4c15..0000000 --- a/base/api/general-api-kustomization.yaml +++ /dev/null @@ -1,18 +0,0 @@ -# flux-system/general-api-kustomization.yaml -apiVersion: kustomize.toolkit.fluxcd.io/v1beta2 -kind: Kustomization -metadata: - name: general-api - namespace: flux-system -spec: - interval: 1m - path: ./api/general-api/ - prune: true - sourceRef: - kind: GitRepository - name: flux-system - healthChecks: - - kind: Deployment - name: general-api - namespace: api-ns - diff --git a/flux-system/general-api-image-policy.yaml b/flux-system/general-api-image-policy.yaml deleted file mode 100644 index b349535..0000000 --- a/flux-system/general-api-image-policy.yaml +++ /dev/null @@ -1,12 +0,0 @@ -apiVersion: image.toolkit.fluxcd.io/v1beta1 -kind: ImagePolicy -metadata: - name: general-api-image-policy - namespace: flux-system -spec: - imageRepositoryRef: - name: general-api-repo - policy: - semver: - range: ">=1.0.0" - diff --git a/flux-system/general-api-image-update-automation.yaml b/flux-system/general-api-image-update-automation.yaml deleted file mode 100644 index c435ecd..0000000 --- a/flux-system/general-api-image-update-automation.yaml +++ /dev/null @@ -1,23 +0,0 @@ -apiVersion: image.toolkit.fluxcd.io/v1beta1 -kind: ImageUpdateAutomation -metadata: - name: general-api-image-update-automation - namespace: flux-system -spec: - interval: 1m - sourceRef: - kind: GitRepository - name: flux-system - git: - checkout: - ref: - branch: main - commit: - author: - name: fluxcdbot - email: fluxcdbot@clortox.com - messageTemplate: 'Update image tag to {{range .Updated.Images}}{{println .}}{{end}}' - update: - path: ./api/general-api - strategy: Setters - diff --git a/flux-system/general-api-repo.yaml b/flux-system/general-api-repo.yaml deleted file mode 100644 index bf07d38..0000000 --- a/flux-system/general-api-repo.yaml +++ /dev/null @@ -1,9 +0,0 @@ -apiVersion: image.toolkit.fluxcd.io/v1beta1 -kind: ImageRepository -metadata: - name: general-api-repo - namespace: flux-system -spec: - image: git.clortox.com/tyler/general-api - interval: 1m -