Skip to content

Instantly share code, notes, and snippets.

View luciddreamz's full-sized avatar

Jacob Lucky luciddreamz

View GitHub Profile
@luciddreamz
luciddreamz / dedicated-admin
Created November 15, 2018 22:37
Permissions granted by dedicated-admin
$ oc describe clusterrole/dedicated-cluster-admin
Name: dedicated-cluster-admin
Created: 11 months ago
Labels: <none>
Annotations: authorization.openshift.io/system-only=true
Verbs Non-Resource URLs Resource Names API Groups Resources
[create delete get list patch update watch] [] [] [ user.openshift.io] [groups identities useridentitymappings users]
[create delete get list patch update watch] [] [] [ authorization.openshift.io] [clusterrolebindings rolebindings]
[create delete get list patch update watch] [] [] [rbac.authorization.k8s.io] [clusterrolebindings rolebindings]
[create delete get list patch update watch] [] [] [ oauth.openshift.io] [oauthclients]
@luciddreamz
luciddreamz / keycloak.sh
Last active July 24, 2024 08:58 — forked from paoloantinori/keycloak.sh
Keycloak Admin API Rest Example: Get User
#!/bin/bash
# requires https://stedolan.github.io/jq/download/
# config
KEYCLOAK_URL=http://localhost:8080/auth
KEYCLOAK_REALM=realm
KEYCLOAK_CLIENT_ID=clientId
KEYCLOAK_CLIENT_SECRET=clientSecret
USER_ID=userId
@luciddreamz
luciddreamz / sso70-rhel7.json
Created November 16, 2016 19:41
Red Hat SSO 7.0 Image Stream
{
"apiVersion": "v1",
"kind": "ImageStream",
"metadata": {
"name": "redhat-sso70-openshift",
"annotations": {
"description": "Red Hat SSO 7.0",
"annotations": {
"openshift.io/display-name": "Red Hat SSO 7.0"
}
@luciddreamz
luciddreamz / sso70-mysql.json
Created November 16, 2016 19:34
Red Hat SSO + MySQL (Ephemeral)
{
"kind": "Template",
"apiVersion": "v1",
"metadata": {
"annotations": {
"openshift.io/display-name": "Red Hat SSO + MySQL (Ephemeral)",
"description": "An example Red Hat SSO application with a MySQL database. For more information about using this template, including OpenShift considerations, see https://access.redhat.com/documentation/en/red-hat-xpaas/0/paged/red-hat-xpaas-sso-image/chapter-3-get-started.\n\nWARNING: Any data stored will be lost upon pod destruction. Only use this template for testing.",
"iconClass" : "icon-jboss",
"tags" : "sso,keycloak,java,jboss,xpaas",
"version" : "1.3.2"
@luciddreamz
luciddreamz / newrelic.yml
Last active August 29, 2015 14:17
OpenShift Marketplace: New Relic Ruby Agent Configuration
#
# This file configures the New Relic Agent. New Relic monitors Ruby, Java,
# .NET, PHP, Python and Node applications with deep visibility and low
# overhead. For more information, visit www.newrelic.com.
#
# Generated March 25, 2015
#
# This configuration file is configured for OpenShift Marketplace