Skip to content

Instantly share code, notes, and snippets.

View FlorinPeter's full-sized avatar

Florin Peter FlorinPeter

  • T-Systems
  • Germany
View GitHub Profile

k3s etcd commands

etcd

Setup etcdctl using the instructions at https://github.com/etcd-io/etcd/releases/tag/v3.4.13 (changed path to /usr/local/bin):

Note: if you want to match th etcdctl binaries with the embedded k3s etcd version, please run the curl command for getting the version first and adjust ETCD_VER below accordingly:

curl -L --cacert /var/lib/rancher/k3s/server/tls/etcd/server-ca.crt --cert /var/lib/rancher/k3s/server/tls/etcd/server-client.crt --key /var/lib/rancher/k3s/server/tls/etcd/server-client.key https://127.0.0.1:2379/version
@FlorinPeter
FlorinPeter / simple_python_datasource.py
Created August 22, 2017 06:41 — forked from linar-jether/simple_python_datasource.py
Grafana python datasource - using pandas for timeseries and table data. inspired by and compatible with the simple json datasource
from flask import Flask, request, jsonify, json, abort
from flask_cors import CORS, cross_origin
import pandas as pd
app = Flask(__name__)
cors = CORS(app)
app.config['CORS_HEADERS'] = 'Content-Type'

Keybase proof

I hereby claim:

  • I am FlorinPeter on github.
  • I am florin (https://keybase.io/florin) on keybase.
  • I have a public key whose fingerprint is 9850 8CD8 54AD F9EF 50DA F3C2 1A58 672B 318B 837E

To claim this, I am signing this object:

@FlorinPeter
FlorinPeter / files_encryption_todo.md
Last active December 17, 2015 05:19
files_encryption TODOs

Sharing

  • [DONE] Share with link not work.
  • [TODO] If group sharing is used and a user is added to a existing group, the user will not be able to decrypt the files.