-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Create new app for Gateway API (#3057)
* feat: Create new app for Gateway API * feat: Create new app for Gateway API * feat: Work on comment * feat: api version correction * build: Updated .github/service-labeler.yaml * feat: api version correction * feat: Add independent management of Traefik CRDs * feat: update kustomization.yaml * feat: worked on comment * feat: include list-images-values.yaml * feat: update the dir structure * feat: worked on comment * feat: kustomization file update * feat: kustomization file update * feat: apiversion update * feat: changed the logic in apptests * feat: skip crds installtion * feat: Add CRDs installation in apptests * feat: Add traefik crd as dependency * feat: used absolutepath function * feat: corrected gateway api path * feat: Added default CM * feat: path correction * feat: print path to check * feat: corrected path * feat: worked on comment * feat: changed the name as per comment * fix(harbor): add gateway-api-crds default app * fix: add gateway-api-crds metadata * fix: install gateway-api crds on new version * fix: avoid adding same traefik override * fix: trigger reconciliation * fix: increse wait interval --------- Co-authored-by: d2iq-mergebot <[email protected]> Co-authored-by: Martin Hrabovcin <[email protected]>
- Loading branch information
1 parent
c173ba9
commit 6b63047
Showing
20 changed files
with
362 additions
and
201 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
apiVersion: v1 | ||
kind: ConfigMap | ||
metadata: | ||
name: gateway-api-1.2.0-d2iq-defaults | ||
namespace: ${releaseNamespace} | ||
data: | ||
values.yaml: | | ||
# values.yaml content to enable only Gateway API CRDs installation | ||
gatewayAPI: true | ||
traefik: false | ||
hub: false | ||
deleteOnUninstall: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
apiVersion: kustomize.config.k8s.io/v1beta1 | ||
kind: Kustomization | ||
resources: | ||
- cm.yaml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
apiVersion: helm.toolkit.fluxcd.io/v2 | ||
kind: HelmRelease | ||
metadata: | ||
name: gateway-api-crds | ||
namespace: ${releaseNamespace} | ||
spec: | ||
interval: 6h | ||
chart: | ||
spec: | ||
chart: traefik-crds | ||
version: "1.2.0" # Use the appropriate version for Traefik CRDs | ||
sourceRef: | ||
kind: HelmRepository | ||
name: helm.traefik.io-traefik | ||
namespace: kommander-flux | ||
valuesFrom: | ||
- kind: ConfigMap | ||
name: gateway-api-1.2.0-d2iq-defaults |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
apiVersion: kustomize.config.k8s.io/v1beta1 | ||
kind: Kustomization | ||
resources: | ||
- gateway-api-crds.yaml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
type: internal | ||
scope: | ||
- workspace | ||
licensing: | ||
- Starter | ||
- Pro | ||
- Ultimate | ||
- Essential | ||
- Enterprise |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
apiVersion: kustomize.toolkit.fluxcd.io/v1 | ||
kind: Kustomization | ||
metadata: | ||
name: traefik-crd-helmrelease | ||
namespace: ${releaseNamespace} | ||
spec: | ||
force: false | ||
prune: true | ||
wait: true | ||
interval: 6h | ||
retryInterval: 1m | ||
path: ./services/traefik/34.1.0/crds | ||
sourceRef: | ||
kind: GitRepository | ||
name: management | ||
namespace: kommander-flux | ||
timeout: 1m | ||
postBuild: | ||
substitute: | ||
releaseNamespace: ${releaseNamespace} | ||
substituteFrom: | ||
- kind: ConfigMap | ||
name: substitution-vars |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
apiVersion: helm.toolkit.fluxcd.io/v2beta2 | ||
kind: HelmRelease | ||
metadata: | ||
name: traefik-crds | ||
namespace: ${releaseNamespace} | ||
spec: | ||
interval: 6h | ||
chart: | ||
spec: | ||
chart: traefik-crds | ||
version: "1.2.0" # Use the appropriate version for Traefik CRDs | ||
sourceRef: | ||
kind: HelmRepository | ||
name: helm.traefik.io-traefik | ||
namespace: kommander-flux | ||
valuesFrom: | ||
- kind: ConfigMap | ||
name: traefik-crd-1.2.0-d2iq-defaults |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
apiVersion: kustomize.config.k8s.io/v1beta1 | ||
kind: Kustomization | ||
resources: | ||
- crds.yaml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
gatewayAPI: false | ||
traefik: true | ||
hub: false | ||
deleteOnUninstall: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
apiVersion: v1 | ||
kind: ConfigMap | ||
metadata: | ||
name: traefik-crd-1.2.0-d2iq-defaults | ||
namespace: ${releaseNamespace} | ||
data: | ||
values.yaml: | | ||
# values.yaml content to enable only Gateway API CRDs installation | ||
gatewayAPI: false | ||
traefik: true | ||
hub: false | ||
deleteOnUninstall: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
apiVersion: kustomize.config.k8s.io/v1beta1 | ||
kind: Kustomization | ||
resources: | ||
- cm.yaml | ||
- traefik.yaml | ||
- crds.yaml |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,3 +3,4 @@ kind: Kustomization | |
resources: | ||
- traefik.yaml | ||
- grafana-dashboards | ||
- crds.yaml |
Oops, something went wrong.