Skip to content

Instantly share code, notes, and snippets.

View josejulio's full-sized avatar

Josejulio Martínez josejulio

View GitHub Profile
@josejulio
josejulio / gist:6914094fe1ff594d24321c21c50dc055
Created December 11, 2023 14:14
Missing contents from dependabot PR issue-8592
```
diff --git a/Pipfile.lock b/Pipfile.lock
index f305f44..2f6f268 100644
--- a/Pipfile.lock
+++ b/Pipfile.lock
@@ -1,7 +1,7 @@
{
"_meta": {
"hash": {
- "sha256": "231daee5d1aa6ad0da4dbb44fa29a4fa16e3d27b75cb3499c73ad892fded6d5d"
kind: Sidecar
apiVersion: networking.istio.io/v1alpha3
metadata:
name: sidecar-productpage
namespace: bookinfo
spec:
workloadSelector:
labels:
app: productpage
ingress: ~
@josejulio
josejulio / googleapi-se.yaml
Created June 24, 2019 21:28
Medium article - Visualizing external traffic with Kiali - googleapi-se.yaml
apiVersion: networking.istio.io/v1alpha3
kind: ServiceEntry
metadata:
name: www.googleapis.com
spec:
hosts:
- www.googleapis.com
ports:
- number: 443
name: https
@josejulio
josejulio / googleapi-combo.yaml
Created June 24, 2019 21:26
Medium article - Visualizing external traffic with Kiali - googleapi-combo.yaml
apiVersion: networking.istio.io/v1alpha3
kind: ServiceEntry
metadata:
name: www.googleapis.com
spec:
hosts:
- www.googleapis.com
ports:
- number: 80
name: http-port
alert('this is an alert');
@josejulio
josejulio / graph-01.json
Created June 20, 2018 21:38
service-mesh graph.json
{
"timestamp": 1529529480,
"elements": {
"nodes": [
{
"data": {
"id": "50c81fc80cd32ed8f2c2b5c1e698e9f8",
"service": "details.bookinfo.svc.cluster.local",
"version": "v1",
"rate": "0.218"
ansible-playbook 2.4.2.0
config file = /usr/share/ansible/openshift-ansible/ansible.cfg
configured module search path = [u'/opt/app-root/src/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules']
ansible python module location = /usr/lib/python2.7/site-packages/ansible
executable location = /usr/bin/ansible-playbook
python version = 2.7.5 (default, Aug 4 2017, 00:39:18) [GCC 4.8.5 20150623 (Red Hat 4.8.5-16)]
Using /usr/share/ansible/openshift-ansible/ansible.cfg as config file
Parsed /tmp/tmp.WhwMUtLmMM inventory source with ini plugin
PLAYBOOK: config.yml ***********************************************************
***************************************************************************************************************************************************
TASK [Gathering Facts] *********************************************************************************************************************************************************
ok: [localhost]
TASK [Check Ansible version] ***************************************************************************************************************************************************
ok: [localhost] => {
"changed": false,
"msg": "All assertions passed"
ansible-playbook 2.4.2.0
config file = /usr/share/ansible/openshift-ansible/ansible.cfg
configured module search path = [u'/opt/app-root/src/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules']
ansible python module location = /usr/lib/python2.7/site-packages/ansible
executable location = /usr/bin/ansible-playbook
python version = 2.7.5 (default, Aug 4 2017, 00:39:18) [GCC 4.8.5 20150623 (Red Hat 4.8.5-16)]
Using /usr/share/ansible/openshift-ansible/ansible.cfg as config file
Parsed /tmp/tmp.AGZy1bpGeg inventory source with ini plugin
PLAYBOOK: config.yml ***********************************************************
apiVersion: batch/v1
kind: Job
metadata:
creationTimestamp: '2018-06-13T23:25:46Z'
labels:
job-name: openshift-ansible-istio-job
name: openshift-ansible-istio-job
namespace: istio-system
resourceVersion: '396'
selfLink: /apis/batch/v1/namespaces/istio-system/jobs/openshift-ansible-istio-job