From 8c1fe434ccf7cd0fee6c07bd71bcecabaa371d93 Mon Sep 17 00:00:00 2001 From: kjuulh Date: Sun, 8 May 2022 18:42:21 +0200 Subject: [PATCH] Add test app --- clank/apps/test/app.yaml | 44 ----------------------------- clank/apps/test/podinfo-source.yaml | 12 ++++++++ 2 files changed, 12 insertions(+), 44 deletions(-) delete mode 100644 clank/apps/test/app.yaml create mode 100644 clank/apps/test/podinfo-source.yaml diff --git a/clank/apps/test/app.yaml b/clank/apps/test/app.yaml deleted file mode 100644 index e942d8f..0000000 --- a/clank/apps/test/app.yaml +++ /dev/null @@ -1,44 +0,0 @@ -apiVersion: v1 -kind: Service -metadata: - name: test-service -spec: - ports: - - port: 80 - protocol: TCP - targetPort: 80 - selector: - run: test ---- -apiVersion: v1 -kind: Pod -metadata: - labels: - run: test - name: test -spec: - containers: - - image: nginx - name: test - ports: - - containerPort: 80 ---- -apiVersion: networking.k8s.io/v1 -kind: Ingress -metadata: - name: nginx-ingress -spec: - tls: - - hosts: - - test.kjuulh.app - rules: - - host: test.kjuulh.app - http: - paths: - - path: / - pathType: Prefix - backend: - service: - name: test-service - port: - number: 80 diff --git a/clank/apps/test/podinfo-source.yaml b/clank/apps/test/podinfo-source.yaml new file mode 100644 index 0000000..3314e62 --- /dev/null +++ b/clank/apps/test/podinfo-source.yaml @@ -0,0 +1,12 @@ +--- +apiVersion: source.toolkit.fluxcd.io/v1beta2 +kind: GitRepository +metadata: + name: podinfo + namespace: flux-system +spec: + interval: 30s + ref: + branch: master + url: https://github.com/stefanprodan/podinfo +