Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch the repository to xpkg.upbound.io/crossplane-contrib to install the crossplane providers #475

Merged
merged 24 commits into from
May 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
ecf2f80
Use the latest sundrio version
aureamunoz Feb 28, 2024
6152ed1
Use the latest sundrio version
aureamunoz Apr 30, 2024
7cd9a9d
Merge branch 'main' into issue-464
cmoulliard May 2, 2024
30256d1
Switch to the new repository: xpkg.upbound.io/crossplane-contrib. #474
cmoulliard May 2, 2024
8561bd2
Add new script installing the container registry
cmoulliard May 2, 2024
eb89851
Revert to 0.14 as next releases intriduced the ManagementPolicies whi…
cmoulliard May 2, 2024
a373225
Add parameter to disable the script execution which requires locally …
cmoulliard May 2, 2024
331c865
Align the instructions with the github flow
cmoulliard May 2, 2024
be6e780
Remove non needed text
cmoulliard May 2, 2024
540c895
Use helm-provider 0.18.1 which supports ManagementPolicies
cmoulliard May 2, 2024
bc579d1
Export TIME_WAIT property
cmoulliard May 2, 2024
51bc305
Use url pointing to the CRD released with 0.18.1
cmoulliard May 2, 2024
116d272
Define the managementPolicies
cmoulliard May 2, 2024
ea223fc
Reformated the KubernetesClientService class and Crossplane DSL
cmoulliard May 2, 2024
096fbb7
Log primaza pod too as we don't get it when error HTTP 500 occurs dur…
cmoulliard May 2, 2024
b48339c
Log primaza pod too as we don't get it when error HTTP 500 occurs dur…
cmoulliard May 3, 2024
75b1b49
Added CRDs under src/main/crds
cmoulliard May 3, 2024
ffb250b
Moving the defintion of the fabric8 kubernetes client to be used to t…
cmoulliard May 3, 2024
7e69238
Commenting the line containing as managementPolicies value: \*\ to ch…
cmoulliard May 3, 2024
5dbd2e3
Make the titles of the job defintion a bit shorter
cmoulliard May 3, 2024
208f49a
Commenting the line containing as managementPolicies default value: \…
cmoulliard May 3, 2024
ec98766
Commenting another lines containing as managementPolicies value: \*\ …
cmoulliard May 3, 2024
fecbea0
Find a temporary workaround concerning the CRD serialization issue. #476
cmoulliard May 3, 2024
3d7d9c1
Let's keep the value \'*' as enum. Remove the managementPolicies from…
cmoulliard May 3, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 7 additions & 4 deletions .github/workflows/e2e-atomic-fruits-vault-crossplane.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Job testing an end to end scenario with simple application. It tests all steps from kind, vault and crossplane installation.
name: Job doing e2e scenario using primaza + vault + crossplane and atomic fruits

on:
workflow_dispatch:
Expand Down Expand Up @@ -95,7 +95,7 @@ jobs:
run: |
./scripts/crossplane.sh

- name: Installing Postgresql DB and Atomic fruits
- name: Installing Atomic fruits
env:
ATOMIC_FRUITS_NAMESPACE: app
run: |
Expand Down Expand Up @@ -179,13 +179,16 @@ jobs:
run: |
./scripts/primaza.sh log

- name: (Only if it failed) Log Atomic Fruits traces at failures
- name: (Only if it failed) Log Atomic Fruits traces at failure like Primaza
if: failure()
env:
ATOMIC_FRUITS_NAMESPACE: app
run: |
source ./scripts/common.sh


log BLUE "Logs of Primaza pod"
./scripts/primaza.sh log

log BLUE "List of the pods deployed on the cluster"
kubectl get pods -A

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/e2e-atomic-fruits-vault.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Job testing an end to end scenario with simple application. It tests all steps from kind and vault installation.
name: Job doing e2e scenario using primaza + vault and atomic fruits

on:
workflow_dispatch:
Expand Down
12 changes: 9 additions & 3 deletions app/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,7 @@
<plugin>
<groupId>io.fabric8</groupId>
<artifactId>java-generator-maven-plugin</artifactId>
<version>${kubernetes-client.version}</version>
<executions>
<execution>
<goals>
Expand All @@ -228,17 +229,22 @@
</executions>
<configuration>
<extraAnnotations>true</extraAnnotations>
<source>src/main/crds</source>
<!-- crds added to src/main/crds
<urls>
<!-- Primaza CRDs -->
&lt;!&ndash; Primaza CRDs &ndash;&gt;
<url>https://raw.githubusercontent.com/primaza/primaza/main/config/crd/bases/primaza.io_clusterenvironments.yaml</url>
<url>https://raw.githubusercontent.com/primaza/primaza/main/config/crd/bases/primaza.io_registeredservices.yaml</url>
<url>https://raw.githubusercontent.com/primaza/primaza/main/config/crd/bases/primaza.io_servicebindings.yaml</url>
<url>https://raw.githubusercontent.com/primaza/primaza/main/config/crd/bases/primaza.io_servicecatalogs.yaml</url>
<url>https://raw.githubusercontent.com/primaza/primaza/main/config/crd/bases/primaza.io_serviceclaims.yaml</url>
<url>https://raw.githubusercontent.com/primaza/primaza/main/config/crd/bases/primaza.io_serviceclasses.yaml</url>
<!-- Crossplane Helm release able to deploy a helm chart -->
<url>https://raw.githubusercontent.com/crossplane-contrib/provider-helm/master/package/crds/helm.crossplane.io_releases.yaml</url>
&lt;!&ndash; Crossplane Helm release able to deploy a helm chart &ndash;&gt;
&lt;!&ndash; Revert to an old version of the CRD as we got a class cast exception using ManagedPolicies field introduced recently &ndash;&gt;
&lt;!&ndash;<url>https://raw.githubusercontent.com/crossplane-contrib/provider-helm/v0.14.0/package/crds/helm.crossplane.io_releases.yaml</url>&ndash;&gt;
<url>https://raw.githubusercontent.com/crossplane-contrib/provider-helm/v0.18.1/package/crds/helm.crossplane.io_releases.yaml</url>
</urls>
-->
</configuration>
</plugin>
</plugins>
Expand Down
Loading