Skip to content

Instantly share code, notes, and snippets.

View ekarlso's full-sized avatar

Endre Karlson ekarlso

View GitHub Profile
apiVersion: helm.fluxcd.io/v1
kind: HelmRelease
metadata:
name: pomerium
namespace: pomerium-system
spec:
releaseName: pomerium
chart:
repository: https://helm.pomerium.io
version: 6.0.1
@ekarlso
ekarlso / log
Created December 8, 2019 02:07

2019/12/07 21:03:08 [INFO] Terraform version: 0.12.17
2019/12/07 21:03:08 [INFO] Go runtime version: go1.12.13
2019/12/07 21:03:08 [INFO] CLI args: []string{"/usr/local/bin/terraform", "apply", "--auto-approve"}
2019/12/07 21:03:08 [DEBUG] Attempting to open CLI config file: /home/ekarlso/.terraformrc
2019/12/07 21:03:08 [DEBUG] File doesn't exist, but doesn't need to. Ignoring.
2019/12/07 21:03:08 [INFO] CLI command args: []string{"apply", "--auto-approve"}
2019/12/07 21:03:08 [TRACE] Meta.Backend: no config given or present on disk, so returning nil config
2019/12/07 21:03:08 [TRACE] Meta.Backend: backend has not previously been initialized in this working directory
2019/12/07 21:03:08 [DEBUG] New state was assigned lineage "bad6d496-0587-aa89-493a-6ddc5b93de5f"
/*
* Copyright (c) 2018 Tavish Naruka <tavishnaruka@gmail.com>
*
* SPDX-License-Identifier: Apache-2.0
*/
#include <logging/log_ctrl.h>
#include <errno.h>
#include <zephyr.h>
apiVersion: v1
items:
- apiVersion: monitoring.coreos.com/v1
kind: Prometheus
metadata:
creationTimestamp: 2019-01-21T19:20:22Z
generation: 1
labels:
app: prometheus-operator-prometheus
chart: prometheus-operator-2.1.5
[13:54:15 ERR] An unhandled exception has occurred while executing the request
System.MissingMethodException: Method not found: 'System.ValueTuple`2<System.String,System.String> IdentityModel.Client.DiscoveryClient.ParseUrl(System.String)'.
at IdentityServer4.AccessTokenValidation.IdentityServerAuthenticationOptions.ConfigureJwtBearer(JwtBearerOptions jwtOptions)
at Microsoft.Extensions.Options.OptionsFactory`1.Create(String name)
at System.Lazy`1.ViaFactory(LazyThreadSafetyMode mode)
at System.Lazy`1.ExecutionAndPublication(LazyHelper executionAndPublication, Boolean useDefaultConstructor)
at System.Lazy`1.CreateValue()
at Microsoft.AspNetCore.Authentication.AuthenticationHandler`1.<InitializeAsync>d__42.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
public async Task<IEnumerable<Integration>> GetAllWithSettings()
{
var refs = await IntegrationContext.Set<IntegrationConfig>().Include(i => i.Settings).ToListAsync();
var data = new List<Integration>();
foreach (var i in refs)
{
var integration = new Integration
{
Id = i.Id,
Name = i.Name,
# A sample configuration file to setup ROBO, based on https://github.com/gluster/gdeploy/blob/master/examples/hc.conf
[hosts]
ovirt0
ovirt2
ovirt3
# Do a sanity check before proceding
[script1]
action=execute
New Paste Fedora: Solved | Mobile | Wiki | Planet
My Pastes | Preferences
TTL: 23 hours, 59 minutes | View raw
models.py
import sqlalchemy as sa
import hashlib
import urllib
import random