diff options
Diffstat (limited to '')
| -rw-r--r-- | grumpy/gitsnapshot/Kube-descriptor.yaml | 5 | ||||
| -rw-r--r-- | grumpy/gitsnapshot/gitsnapshot-cronjob.yaml | 6 | ||||
| -rw-r--r-- | grumpy/gitsnapshot/kustomization.yaml | 7 |
3 files changed, 3 insertions, 15 deletions
diff --git a/grumpy/gitsnapshot/Kube-descriptor.yaml b/grumpy/gitsnapshot/Kube-descriptor.yaml deleted file mode 100644 index 4b429df..0000000 --- a/grumpy/gitsnapshot/Kube-descriptor.yaml +++ /dev/null @@ -1,5 +0,0 @@ -apiVersion: v1 -appVersion: 0.0.1 -description: A Helm chart for Kubernetes -name: gitsnapshot -version: 0.2.0 diff --git a/grumpy/gitsnapshot/gitsnapshot-cronjob.yaml b/grumpy/gitsnapshot/gitsnapshot-cronjob.yaml index 2554f8a..5dbe5ee 100644 --- a/grumpy/gitsnapshot/gitsnapshot-cronjob.yaml +++ b/grumpy/gitsnapshot/gitsnapshot-cronjob.yaml @@ -1,4 +1,4 @@ -apiVersion: batch/v1beta1 +apiVersion: batch/v1 kind: CronJob metadata: name: gitsnapshot @@ -48,7 +48,3 @@ spec: persistentVolumeClaim: claimName: gitolite-storage schedule: '*/60 * * * *' - selector: - matchLabels: - app.kubernetes.io/instance: gitsnapshot - app.kubernetes.io/name: gitsnapshot diff --git a/grumpy/gitsnapshot/kustomization.yaml b/grumpy/gitsnapshot/kustomization.yaml index 83cfe40..8ed81eb 100644 --- a/grumpy/gitsnapshot/kustomization.yaml +++ b/grumpy/gitsnapshot/kustomization.yaml @@ -1,17 +1,15 @@ # Labels to add to all resources and selectors. commonLabels: app.kubernetes.io/instance: gitsnapshot - app.kubernetes.io/managed-by: Tiller app.kubernetes.io/name: gitsnapshot app.kubernetes.io/version: 0.0.1 - helm.sh/chart: gitsnapshot-0.2.0 # Images modify the tags for images without # creating patches. images: - name: busybox - name: registry.gitlab.com/grumps/grumpy-containers/git-snapshot - newTag: v0.0.4 + newTag: latest # Value of this field is prepended to the # names of all resources @@ -21,10 +19,9 @@ namePrefix: gitsnapshot # and emits as a YAML string resources: - gitsnapshot-cronjob.yaml -- gitsnapshot-test-connection-pod.yaml # Each entry in this list results in the creation of # one Secret resource (it's a generator of n secrets). secretGenerator: - name: aws-s3-secret - type: Opaque
\ No newline at end of file + type: Opaque |