-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for simulating
.Capabilities.KubeVersion
(#13)
* Use KubeVersion from file, restructure, cleaner messages * Update argo-workflows simulation syntax * Add `metrics-server` test files * Update README with KubeVersion capability simulation * Cleanup feedback/messages * Remove built-in API version from metrics-server simulation * Minor updates to README * README update
- Loading branch information
Showing
5 changed files
with
175 additions
and
52 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
--- | ||
apiVersion: source.toolkit.fluxcd.io/v1 | ||
kind: HelmRepository | ||
metadata: | ||
name: metrics-server | ||
namespace: metrics-server | ||
spec: | ||
interval: 15m | ||
url: https://kubernetes-sigs.github.io/metrics-server/ | ||
|
||
--- | ||
apiVersion: helm.toolkit.fluxcd.io/v2 | ||
kind: HelmRelease | ||
metadata: | ||
name: metrics-server | ||
namespace: metrics-server | ||
spec: | ||
interval: 5m | ||
dependsOn: | ||
- name: aws-lb-controller | ||
namespace: aws-lb-controller | ||
targetNamespace: metrics-server | ||
chart: | ||
spec: | ||
chart: metrics-server | ||
version: "3.12.2" | ||
sourceRef: | ||
kind: HelmRepository | ||
name: metrics-server | ||
interval: 15m | ||
install: | ||
skipCRDs: true | ||
values: | ||
podDisruptionBudget: | ||
enabled: true | ||
metrics: | ||
enabled: true | ||
serviceMonitor: | ||
enabled: true | ||
interval: "120s" | ||
additionalLabels: | ||
instance: primary | ||
|
||
--- | ||
# flux-helm-diff: | ||
# kube-version: 1.20 |
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,42 @@ | ||
--- | ||
apiVersion: source.toolkit.fluxcd.io/v1 | ||
kind: HelmRepository | ||
metadata: | ||
name: metrics-server | ||
namespace: metrics-server | ||
spec: | ||
interval: 15m | ||
url: https://kubernetes-sigs.github.io/metrics-server/ | ||
|
||
--- | ||
apiVersion: helm.toolkit.fluxcd.io/v2 | ||
kind: HelmRelease | ||
metadata: | ||
name: metrics-server | ||
namespace: metrics-server | ||
spec: | ||
interval: 5m | ||
dependsOn: | ||
- name: aws-lb-controller | ||
namespace: aws-lb-controller | ||
targetNamespace: metrics-server | ||
chart: | ||
spec: | ||
chart: metrics-server | ||
version: "3.12.2" | ||
sourceRef: | ||
kind: HelmRepository | ||
name: metrics-server | ||
interval: 15m | ||
install: | ||
skipCRDs: true | ||
values: | ||
podDisruptionBudget: | ||
enabled: true | ||
metrics: | ||
enabled: true | ||
serviceMonitor: | ||
enabled: true | ||
interval: "120s" | ||
additionalLabels: | ||
instance: primary |