Skip to content

add yaml deploy files#94

Draft
qiliRedHat wants to merge 1 commit into
cloud-bulldozer:masterfrom
qiliRedHat:yaml-install
Draft

add yaml deploy files#94
qiliRedHat wants to merge 1 commit into
cloud-bulldozer:masterfrom
qiliRedHat:yaml-install

Conversation

@qiliRedHat

Copy link
Copy Markdown
Contributor

Type of change

  • Refactor
  • New feature
  • Bug fix
  • Optimization
  • Documentation Update

Description

Deploy dittybopper with yaml files.

Related Tickets & Documents

Checklist before requesting a review

  • I have performed a self-review of my code.
  • If it is a core feature, I have added thorough tests.

Testing

  • Please describe the System Under Test.
  • Please provide detailed steps to perform tests related to this code change.
  • How were the fix/results from this change verified? Please provide relevant screenshots or results.

@qiliRedHat qiliRedHat marked this pull request as draft November 22, 2023 14:16
@qiliRedHat

qiliRedHat commented Nov 22, 2023

Copy link
Copy Markdown
Contributor Author

This is not fully working now
Partially working steps:

oc create -f dittybopper_ns.yaml
oc create -f dittybopper_sa.yaml
oc create -f dittybopper_rolebinding.yaml
----manual steps start----
% oc get secret -n dittybopper | grep dittybopper-token
dittybopper-token-xxxxx kubernetes.io/service-account-token 4 115s

% oc get secret/dittybopper-token-xxxxx -n dittybopper -o json | jq -r ".data.token" | base64 --decode

%oc get routes -n openshift-monitoring prometheus-k8s -o jsonpath="{.spec.host}"
<PROMETHEUS_URL>

In dittybopper.yaml replace the ${PROMETHEUS_URL} and ${TOKEN} with the above token
----manual steps end----
oc create -f dittybopper.yaml

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant