-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #52 from shantanoo-desai/develop
refactor(influxdbv2, grafana): docker secrets + datasources change
- Loading branch information
Showing
11 changed files
with
49 additions
and
54 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
# Komponist - Generate Your Favourite Compose Stack With the Least Effort | ||
{#- Komponist - Generate Your Favourite Compose Stack With the Least Effort | ||
# | ||
# Copyright (C) 2023 Shantanoo "Shan" Desai <[email protected]> | ||
# | ||
|
@@ -13,30 +13,32 @@ | |
# GNU Affero General Public License for more details. | ||
# | ||
# You should have received a copy of the GNU Affero General Public License | ||
# along with this program. If not, see <https://www.gnu.org/licenses/>. | ||
# along with this program. If not, see <https://www.gnu.org/licenses/>.-#} | ||
|
||
{{ ansible_managed | comment }} | ||
|
||
{# datasources.yml.j2: Jinja2 Template for Grafana Datasources YAML file #} | ||
{#- datasources.yml.j2: Jinja2 Template for Grafana Datasources YAML file -#} | ||
|
||
apiVersion: 1 | ||
|
||
deleteDataSources: | ||
|
||
datasources: | ||
{% if 'influxdbv1' in komponist.configuration.keys() %} | ||
- name: Komponist InfluxDBv1 Datasource | ||
- name: Komponist-InfluxDBv1 | ||
type: influxdb | ||
database: {{ credentials.influxdbv1.init_database }} | ||
access: proxy | ||
database: {{ credentials.influxdbv1.init_database }} | ||
user: {{ credentials.influxdbv1.readwrite_user_username }} | ||
url: http://komponist_influxdbv1:8086 | ||
jsonData: | ||
httpMode: GET | ||
secureJsonData: | ||
password: {{ credentials.influxdbv1.readwrite_user_password }} | ||
editable: true | ||
{% endif %} | ||
|
||
{% if 'influxdbv2' in komponist.configuration.keys() %} | ||
- name: Komponist InfluxDBv2 Datasource | ||
- name: Komponist-InfluxDBv2 | ||
type: influxdb | ||
access: proxy | ||
url: http://komponist_influxdbv2:8087 | ||
|
@@ -47,4 +49,5 @@ datasources: | |
tlsSkipVerify: true | ||
secureJsonData: | ||
token: {{ credentials.influxdbv2.admin_token }} | ||
editable: true | ||
{% endif %} |
This file was deleted.
Oops, something went wrong.
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
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