This file contains hidden or 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
| package feedback | |
| import ( | |
| "os/exec" | |
| "runtime" | |
| "github.com/pkg/errors" | |
| ) | |
| const issuesURL = "https://some-url" |
This file contains hidden or 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
| kubectl create -f cloudsql-proxy-secret.yaml cloudsql-proxy-deployment.yaml cloudsql-proxy-service.yaml |
This file contains hidden or 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
| --- | |
| apiVersion: v1 | |
| kind: Service | |
| metadata: | |
| name: cloudsql-proxy | |
| spec: | |
| type: ClusterIP | |
| selector: | |
| app: cloudsql-proxy | |
| ports: |
This file contains hidden or 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
| --- | |
| apiVersion: apps/v1 | |
| kind: Deployment | |
| metadata: | |
| name: cloudsql-proxy | |
| spec: | |
| replicas: 1 | |
| selector: | |
| matchLabels: | |
| app: cloudsql-proxy |
This file contains hidden or 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
| --- | |
| apiVersion: v1 | |
| kind: Secret | |
| type: Opaque | |
| metadata: | |
| name: cloudsql-credentials | |
| data: | |
| credentials.json: |- | |
| < your base64 encoded key > |
This file contains hidden or 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
| fileserver_backend: | |
| - git | |
| gitfs_provider: pygit2 | |
| gitfs_remotes: | |
| - git@gitlab.<tld>:it/salt.git: | |
| - privkey: /root/.ssh/id_rsa | |
| - pubkey: /root/.ssh/id_rsa.pub |
This file contains hidden or 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
| [Unit] | |
| Description=Docker Registry Proxy | |
| After=docker.service | |
| After=docker-registry.service | |
| Requires=docker.service | |
| Requires=docker-registry.service | |
| [Service] | |
| TimeoutStartSec=0 | |
| ExecStartPre=-/usr/bin/docker kill regproxy |
This file contains hidden or 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
| {%- set es_logstash_kibana = salt['pillar.get']('es_logstash_kibana', {}) %} | |
| include: | |
| - java | |
| - logstash | |
| - elasticsearch | |
| - kibana | |
| extend: | |
| logstash-pkg: |
This file contains hidden or 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
| [INFO ] Fetching file from saltenv 'base', ** skipped ** latest already in cache 'salt://sudoers/init.sls' | |
| [INFO ] Fetching file from saltenv 'base', ** skipped ** latest already in cache 'salt://sudoers/package-map.jinja' | |
| [INFO ] Fetching file from saltenv 'base', ** skipped ** latest already in cache 'salt://logstash_forwarder/init.sls' | |
| [INFO ] Fetching file from saltenv 'base', ** skipped ** latest already in cache 'salt://logstash_forwarder/map.jinja' | |
| [INFO ] Fetching file from saltenv 'base', ** skipped ** latest already in cache 'salt://logstash_forwarder/repo.sls' | |
| [INFO ] Fetching file from saltenv 'base', ** skipped ** latest already in cache 'salt://salt/minion.sls' | |
| [INFO ] Fetching file from saltenv 'base', ** skipped ** latest already in cache 'salt://salt/init.sls' | |
| [INFO ] Fetching file from saltenv 'base', ** skipped ** latest already in cache 'salt://kerberos/init.sls' | |
| [INFO ] Fetching file from saltenv 'base', ** skipped ** latest already in cache 'salt://winbind/init |
This file contains hidden or 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
| In /etc/salt/master.d/gitfs-pillar-backend.conf: | |
| ext_pillar: | |
| - git: master git+ssh://git@FQDN/it/pillar-wei.git | |
| - git: elasticsearch git+ssh://git@FQDN/it/pillar-wei.git | |
| top.sls in branch master: | |
| base: | |
| 'salt.DOMAIN': | |
| - global | |
| - sudoers |