Skip to content

Instantly share code, notes, and snippets.

Avatar

Jacob Lucky luciddreamz

View GitHub Profile
@luciddreamz
luciddreamz / dedicated-admin
Created Nov 15, 2018
Permissions granted by dedicated-admin
View 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 Dec 6, 2021 — forked from paoloantinori/keycloak.sh
Keycloak Admin API Rest Example: Get User
View keycloak.sh
#!/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 Nov 16, 2016
Red Hat SSO 7.0 Image Stream
View sso70-rhel7.json
{
"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 Nov 16, 2016
Red Hat SSO + MySQL (Ephemeral)
View sso70-mysql.json
{
"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 Aug 29, 2015
OpenShift Marketplace: New Relic Ruby Agent Configuration
View newrelic.yml
#
# 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