Skip to content
This repository was archived by the owner on Oct 3, 2023. It is now read-only.

Commit 6de80d1

Browse files
committed
Added crossplane CLI #3697
1 parent 6398a0b commit 6de80d1

File tree

3 files changed

+39
-0
lines changed

3 files changed

+39
-0
lines changed

renovate.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -633,6 +633,17 @@
633633
"datasourceTemplate": "github-releases",
634634
"extractVersionTemplate": "^v(?<version>.+?)$"
635635
},
636+
{
637+
"fileMatch": [
638+
"^tools/crossplane/manifest.yaml$"
639+
],
640+
"matchStrings": [
641+
"version: \"?(?<currentValue>.*?)\"?\\n"
642+
],
643+
"depNameTemplate": "crossplane/crossplane",
644+
"datasourceTemplate": "github-releases",
645+
"extractVersionTemplate": "^v(?<version>.+?)$"
646+
},
636647
{
637648
"fileMatch": [
638649
"^tools/crun/manifest.yaml$"

tools/crossplane/Dockerfile.template

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
#syntax=docker/dockerfile:1.4.3
2+
3+
ARG ref=main
4+
FROM ghcr.io/nicholasdille/docker-setup/base:${ref} AS prepare
5+
6+
ARG name
7+
ARG version
8+
9+
RUN <<EOF
10+
curl --silent --location --output "${prefix}${target}/bin/kubectl-crossplane" \
11+
"https://releases.crossplane.io/stable/v${version}/bin/linux_${alt_arch}/crank"
12+
chmod +x "${prefix}${target}/bin/kubectl-crossplane"
13+
EOF

tools/crossplane/manifest.yaml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
name: crossplane
2+
version: 1.9.1
3+
check: ${binary} --version | tr -d v
4+
dependencies:
5+
- kubectl
6+
tags:
7+
- type/cli
8+
- type/plugin
9+
- management
10+
homepage: https://github.com/crossplane/crossplane
11+
description: Cloud Native Control Planes
12+
renovate:
13+
datasource: github-releases
14+
package: crossplane/crossplane
15+
extractVersion: ^v(?<version>.+?)$

0 commit comments

Comments
 (0)