-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'improvement/2488-make-csc-upgrade-able' into q/2.5
- Loading branch information
Showing
14 changed files
with
137 additions
and
75 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,16 @@ | ||
--- | ||
# Configuration of the Dex (OIDC) service | ||
apiVersion: addons.metalk8s.scality.com | ||
kind: DexConfig | ||
spec: | ||
# Configure the Dex Deployment | ||
deployment: | ||
replicas: 2 | ||
localuserstore: | ||
enabled: true | ||
userlist: | ||
- email: "[email protected]" | ||
hash: "$2a$10$2b2cU8CPhOTaGrs1HRQuAueS7JTT5ZHsHSzYiFPm1leZck7Mc8T4W" | ||
username: "admin" | ||
userID: "08a8684b-db88-4b73-90a9-3cd1661f5466" | ||
connectors: [] |
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 |
---|---|---|
|
@@ -23,18 +23,7 @@ Create dex-config ConfigMap: | |
config.yaml: |- | ||
apiVersion: addons.metalk8s.scality.com | ||
kind: DexConfig | ||
spec: | ||
deployment: | ||
replicas: 2 | ||
localuserstore: | ||
enabled: true | ||
userlist: | ||
- email: "[email protected]" | ||
hash: "$2a$10$2b2cU8CPhOTaGrs1HRQuAueS7JTT5ZHsHSzYiFPm1leZck7Mc8T4W" | ||
username: "admin" | ||
userID: "08a8684b-db88-4b73-90a9-3cd1661f5466" | ||
connectors: [] | ||
|
||
spec: {} | ||
|
||
{%- else %} | ||
|
||
|
26 changes: 26 additions & 0 deletions
26
salt/metalk8s/addons/prometheus-operator/config/alertmanager.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,26 @@ | ||
--- | ||
# Configuration of the Alertmanager service | ||
apiVersion: addons.metalk8s.scality.com | ||
kind: AlertmanagerConfig | ||
spec: | ||
# Configure the Alertmanager Deployment | ||
deployment: | ||
replicas: 1 | ||
notification: | ||
config: | ||
global: | ||
resolve_timeout: 5m | ||
templates: [] | ||
route: | ||
group_by: ['job'] | ||
group_wait: 30s | ||
group_interval: 5m | ||
repeat_interval: 12h | ||
receiver: 'null' | ||
routes: | ||
- match: | ||
alertname: Watchdog | ||
receiver: 'null' | ||
receivers: | ||
- name: 'null' | ||
inhibit_rules: [] |
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,8 @@ | ||
--- | ||
# Configuration of the Grafana service | ||
apiVersion: addons.metalk8s.scality.com | ||
kind: GrafanaConfig | ||
spec: | ||
# Configure the Grafana Deployment | ||
deployment: | ||
replicas: 1 |
8 changes: 8 additions & 0 deletions
8
salt/metalk8s/addons/prometheus-operator/config/prometheus.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,8 @@ | ||
--- | ||
# Configuration of the Prometheus service | ||
apiVersion: addons.metalk8s.scality.com | ||
kind: PrometheusConfig | ||
spec: | ||
# Configure the Prometheus Deployment | ||
deployment: | ||
replicas: 1 |
4 changes: 3 additions & 1 deletion
4
salt/metalk8s/addons/prometheus-operator/deployed/alertmanager-configuration-secret.sls
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
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